Fixed apache::sslserver init script to work on Fedora.

This commit is contained in:
Timo Mkinen 2010-01-08 01:34:15 +02:00
parent 4f57e00576
commit 4320b5fca9

View file

@ -33,7 +33,11 @@ INITLOG_ARGS=""
apachectl=/usr/sbin/apachectl
httpsd=${HTTPSD-/usr/sbin/httpsd}
prog=httpsd
pidfile=${PIDFILE-/var/run/httpsd.pid}
if [ -d /var/run/httpd ]; then
pidfile=${PIDFILE-/var/run/httpd/httpsd.pid}
else
pidfile=${PIDFILE-/var/run/httpsd.pid}
fi
lockfile=${LOCKFILE-/var/lock/subsys/httpsd}
RETVAL=0