Files
monica/scripts/docker/apache2-foreground
T
2019-10-23 23:21:17 +02:00

12 lines
201 B
Bash
Executable File

#!/bin/sh
# Run fpm
if [ -f /etc/apache2/conf-enabled/php7.3-fpm.conf ]; then
service php7.3-fpm start
fi
# Run apache2
mkdir -p /run/apache2
rm -f /run/apache2/httpd.pid
httpd -DFOREGROUND "$@"