diff --git a/ddclient.changes b/ddclient.changes index 778f822..4e9f36b 100644 --- a/ddclient.changes +++ b/ddclient.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 15 07:58:26 UTC 2013 - seife+obs@b1-systems.com + +- fix init script: start ddclient with "/usr/bin/perl ddclient", + otherwise startproc will falsely report that starting failed. + ------------------------------------------------------------------- Wed Oct 24 21:30:01 UTC 2012 - chris@computersalat.de diff --git a/ddclient.spec b/ddclient.spec index 000cb20..c59494f 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -1,7 +1,7 @@ # # spec file for package ddclient # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/rc.ddclient b/rc.ddclient index a17ffd0..8115ed9 100644 --- a/rc.ddclient +++ b/rc.ddclient @@ -75,7 +75,9 @@ rc_reset case "$1" in start) echo -n "Starting ddclient daemon :" - /sbin/startproc "$DDCLIENT_BIN" -daemon $dd_intervall "$dd_use" $DDCLIENT_OPTIONS -pid /var/run/ddclient.pid + # startproc does check the name of the binary, and this is "perl" in this case, + # so better start it this way or systemd will not know it is running + /sbin/startproc /usr/bin/perl "$DDCLIENT_BIN" -daemon $dd_intervall "$dd_use" $DDCLIENT_OPTIONS -pid /var/run/ddclient.pid # remember status and be verbose rc_status -v