mirror of
https://github.com/manios/docker-nagios.git
synced 2026-08-03 16:22:15 +00:00
Remove httpd pid file before starting as it may create an infinite loop with errors. (#13)
This commit is contained in:
parent
1ae7dba91c
commit
0a57554131
1 changed files with 7 additions and 0 deletions
|
|
@ -1,4 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
echo -n "Removing Apache HTTPD PID file before starting it ..."
|
||||
(rm -f /var/run/apache2/httpd.pid || true)
|
||||
echo "OK"
|
||||
|
||||
. /usr/sbin/envvars
|
||||
|
||||
# TODO Check about cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue