Commit 4df4ffa4 authored by Ingvar Hagelund's avatar Ingvar Hagelund

Fixed pidfile issues in redhat package


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3192 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent b25eb548
......@@ -61,7 +61,7 @@ start() {
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
......@@ -77,7 +77,7 @@ start() {
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/
......
......@@ -49,7 +49,7 @@ start() {
stop() {
echo -n "Stopping varnish logging daemon: "
killproc $prog
killproc -p $pidfile $prog
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
......
......@@ -49,7 +49,7 @@ start() {
stop() {
echo -n "Stopping varnish ncsa logging daemon: "
killproc $prog
killproc -p $pidfile $prog
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
......
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