Merge pull request #140 from Lucas-C/patch-1
Allowing to pass args to httpd through httpd-foreground command
This commit is contained in:
commit
385f0d1d8e
|
|
@ -4,4 +4,4 @@ set -e
|
||||||
# Apache gets grumpy about PID files pre-existing
|
# Apache gets grumpy about PID files pre-existing
|
||||||
rm -f /usr/local/apache2/logs/httpd.pid
|
rm -f /usr/local/apache2/logs/httpd.pid
|
||||||
|
|
||||||
exec httpd -DFOREGROUND
|
exec httpd -DFOREGROUND "$@"
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ set -e
|
||||||
# Apache gets grumpy about PID files pre-existing
|
# Apache gets grumpy about PID files pre-existing
|
||||||
rm -f /usr/local/apache2/logs/httpd.pid
|
rm -f /usr/local/apache2/logs/httpd.pid
|
||||||
|
|
||||||
exec httpd -DFOREGROUND
|
exec httpd -DFOREGROUND "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue