Create apache2-foreground
This commit is contained in:
7
apache2-foreground
Normal file
7
apache2-foreground
Normal 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 "$@"
|
||||
Reference in New Issue
Block a user