]> git.pld-linux.org Git - packages/dspam.git/commitdiff
- use pidfile not to kill wrong processes
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 7 May 2006 15:08:53 +0000 (15:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dspam.init -> 1.4

dspam.init

index 800d42ee58c8c34a19cf774e680d0d24f5946268..7148e518639bf8d77879cdcac26bf5fa4e7c6fbd 100644 (file)
@@ -30,8 +30,8 @@ case "$1" in
   stop)
        if [ -f /var/lock/subsys/dspam ]; then
                msg_stopping dspam
-               killproc dspam
-               rm -f /var/run/dspam.pid /var/lock/subsys/dspam >/dev/null 2>&1
+               killproc --pidfile dspam/dspam.pid dspam
+               rm -f /var/lock/subsys/dspam >/dev/null 2>&1
        else
                msg_not_running dspam
        fi
This page took 0.082707 seconds and 4 git commands to generate.