wok-6.x rev 19334
apache: mkdir for PIDFILE
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Jul 17 20:43:11 2016 -0400 (2016-07-17) |
parents | 997d9f1a70ea |
children | bec98053d476 |
files | apache/stuff/apache |
line diff
1.1 --- a/apache/stuff/apache Sun Jul 17 09:10:20 2016 +0200 1.2 +++ b/apache/stuff/apache Sun Jul 17 20:43:11 2016 -0400 1.3 @@ -10,7 +10,9 @@ 1.4 DESC="$(_ 'Apache Web Server')" 1.5 DAEMON=/usr/bin/apachectl 1.6 OPTIONS=$APACHE_OPTIONS 1.7 -PIDFILE=/var/run/apache.pid 1.8 +PIDFILE=/var/run/apache/httpd.pid 1.9 + 1.10 +[ -d /var/run/apache ] || mkdir -p /var/run/apache 1.11 1.12 case "$1" in 1.13 start)