]> git.pld-linux.org Git - packages/ddclient.git/commitdiff
initscript fixes
authorElan Ruusamäe <glen@delfi.ee>
Wed, 23 Sep 2015 06:05:20 +0000 (09:05 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 23 Sep 2015 06:05:20 +0000 (09:05 +0300)
ddclient.init

index 3726da09f958be8233e95ff871f09b9db7b6a6a3..ca6795e2bda47cf1d314b903372790fc52d92070 100755 (executable)
@@ -37,7 +37,7 @@ start() {
        fi
 
        msg_starting "Dynamic DNS Client"
-       daemon --user ddclient /usr/sbin/ddclient $DDCLIENT_OPTIONS
+       daemon --user ddclient /usr/sbin/ddclient -pid $pidfile $DDCLIENT_OPTIONS
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/ddclient
 }
@@ -49,7 +49,7 @@ stop() {
        fi
 
        msg_stopping "Dynamic DNS Client"
-       killproc ddclient --pidfile $pidfile
+       killproc --pidfile $pidfile ddclient
        rm -f $pidfile /var/lock/subsys/ddclient >/dev/null 2>&1
 }
 
This page took 0.088895 seconds and 4 git commands to generate.