Skip to content

Commit b3e363f

Browse files
authored
Merge pull request #2 from pholly/patch-1
Update init.sh to clear out apache pid
2 parents 971f1c2 + 19d9e3b commit b3e363f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/init.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
22

33
source /etc/apache2/envvars
4-
exec apache2 -D FOREGROUND
4+
5+
# Apache gets grumpy about PID files pre-existing
6+
rm -f /var/run/apache2/apache2.pid
7+
8+
exec apache2 -D FOREGROUND

0 commit comments

Comments
 (0)