All checks were successful
docker / docker (push) Successful in 22s
Signed-off-by: ngn <ngn@ngn.tf>
18 lines
394 B
Bash
18 lines
394 B
Bash
#!/bin/sh -e
|
|
|
|
config='/srv/4get/data/config.php'
|
|
defconfig='/srv/4get/data/config.def.php'
|
|
|
|
# check for the configuration file
|
|
if [ ! -f "${config}" ]; then
|
|
echo "configuration file not specified"
|
|
echo "here's the default configuration, modify and mount this to ${config}"
|
|
echo
|
|
cat "${defconfig}"
|
|
exit 1
|
|
fi
|
|
|
|
# execute apache
|
|
echo "starting apache web server"
|
|
exec httpd -D FOREGROUND
|