Commit d4995ae4 authored by Ingvar Hagelund's avatar Ingvar Hagelund

correct pidfile option to daemon and killproc functions

git-svn-id: http://www.varnish-cache.org/svn/trunk@3123 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 50897063
......@@ -62,7 +62,7 @@ start() {
return 6
else
# Varnish always gives output on STDOUT
daemon $exec "$DAEMON_OPTS" -P $pidfile > /dev/null 2>&1
daemon $exec "$DAEMON_OPTS" --pidfile $pidfile > /dev/null 2>&1
retval=$?
if [ $retval -eq 0 ]
then
......@@ -99,7 +99,7 @@ force_reload() {
}
rh_status() {
status $prog
status -p $pidfile $prog
}
rh_status_q() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment