Fixed apache::sslserver init script to work on Fedora.
This commit is contained in:
parent
4f57e00576
commit
4320b5fca9
1 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,11 @@ INITLOG_ARGS=""
|
||||||
apachectl=/usr/sbin/apachectl
|
apachectl=/usr/sbin/apachectl
|
||||||
httpsd=${HTTPSD-/usr/sbin/httpsd}
|
httpsd=${HTTPSD-/usr/sbin/httpsd}
|
||||||
prog=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}
|
lockfile=${LOCKFILE-/var/lock/subsys/httpsd}
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue