Accepting request 175698 from home:seife:branches:network
fix init script: start ddclient with "/usr/bin/perl ddclient", otherwise startproc will falsely report that starting failed. OBS-URL: https://build.opensuse.org/request/show/175698 OBS-URL: https://build.opensuse.org/package/show/network/ddclient?expand=0&rev=23
This commit is contained in:
parent
9b9c7927b8
commit
39544acbe1
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user