Create apache2-foreground

This commit is contained in:
Dinis
2021-04-05 16:59:05 +01:00
committed by GitHub
parent c9d0978125
commit 43f3a82f32

7
apache2-foreground Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -e
# Apache gets grumpy about PID files pre-existing
rm -f /var/run/apache2/apache2.pid
exec apache2ctl -DFOREGROUND "$@"