]> git.pld-linux.org Git - packages/proftpd.git/commitdiff
- fixed local state files location
authorTomasz Pala <gotar@pld-linux.org>
Sun, 7 Jun 2009 23:03:35 +0000 (23:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    proftpd.init -> 1.14

proftpd.init

index 91164c0de50d77209d6f2d7a9617e216c3268b58..71ac08730552a8ef1058c48689ae5e44ebfb1c70 100644 (file)
@@ -42,11 +42,10 @@ start() {
 }
 
 stop() {
-       # Stop daemons.
        if [ -f /var/lock/subsys/proftpd ]; then
                msg_stopping ProFTPD
                killproc proftpd
-               rm -f /var/lock/subsys/proftpd /var/run/proftpd* > /dev/null 2>&1
+               rm -f /var/lock/subsys/proftpd /var/run/proftpd/* >/dev/null 2>&1
        else
                msg_not_running ProFTPD
        fi
@@ -66,10 +65,10 @@ RETVAL=0
 # See how we were called.
 case "$1" in
   start)
-       start
+       start
        ;;
   stop)
-       stop
+       stop
        ;;
   restart)
        stop
This page took 0.101246 seconds and 4 git commands to generate.