[packages/ddclient] initscript fixes
glen
glen at pld-linux.org
Wed Sep 23 08:05:28 CEST 2015
commit a2d1f4f1de97ffb7dbf7e22e454b2c48f1ee2500
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Sep 23 09:05:20 2015 +0300
initscript fixes
ddclient.init | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ddclient.init b/ddclient.init
index 3726da0..ca6795e 100755
--- a/ddclient.init
+++ b/ddclient.init
@@ -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
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ddclient.git/commitdiff/a2d1f4f1de97ffb7dbf7e22e454b2c48f1ee2500
More information about the pld-cvs-commit
mailing list