Ask Bjørn Hansen
e6b4191542
All checks were successful
continuous-integration/drone/push Build is passing
21 lines
404 B
Bash
Executable File
21 lines
404 B
Bash
Executable File
#!/bin/sh
|
|
set -ex
|
|
|
|
if [ ! -z "$READY_FILE" ]; then
|
|
while [ ! -e $READY_FILE ]; do
|
|
echo waiting for $READY_FILE
|
|
sleep 5
|
|
done
|
|
fi
|
|
|
|
if [ ! -z "$PRESTART_SCRIPT" ]; then
|
|
if [ ! -e "$PRESTART_SCRIPT" ]; then
|
|
echo configured prestart script "$PRESTART_SCRIPT" is missing
|
|
else
|
|
$PRESTART_SCRIPT
|
|
fi
|
|
fi
|
|
|
|
#exec httpd -DFOREGROUND -e info
|
|
exec httpd -DFOREGROUND -e debug
|