git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3192
d4fa192b-c00b-0410-8231-
f00ffab90ce4
return 6
else
# Varnish always gives output on STDOUT
- daemon --pidfile $pidfile $exec "$DAEMON_OPTS" > /dev/null 2>&1
+ daemon --pidfile $pidfile $exec -P $pidfile "$DAEMON_OPTS" > /dev/null 2>&1
retval=$?
if [ $retval -eq 0 ]
then
stop() {
echo -n "Stopping varnish HTTP accelerator: "
- killproc $prog
+ killproc -p $pidfile $prog
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
Summary: Varnish is a high-performance HTTP accelerator
Name: varnish
Version: 2.0
-Release: 0.9.20080912svn3184%{?dist}
+Release: 0.9.20080916svn3192%{?dist}
License: BSD
Group: System Environment/Daemons
URL: http://www.varnish-cache.org/
stop() {
echo -n "Stopping varnish logging daemon: "
- killproc $prog
+ killproc -p $pidfile $prog
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
stop() {
echo -n "Stopping varnish ncsa logging daemon: "
- killproc $prog
+ killproc -p $pidfile $prog
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile