diff options
Diffstat (limited to 'data/init.d/openrc-settingsd.in')
-rwxr-xr-x | data/init.d/openrc-settingsd.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/data/init.d/openrc-settingsd.in b/data/init.d/openrc-settingsd.in index dfdcda8..8db56c5 100755 --- a/data/init.d/openrc-settingsd.in +++ b/data/init.d/openrc-settingsd.in @@ -12,15 +12,14 @@ start() { [ -n "${NTP_SERVICE}" ] && OPENRC_SETTINGSD_OPTS="--ntp-service=${NTP_SERVICE} ${OPENRC_SETTINGSD_OPTS}" ebegin "Starting openrc-settingsd" - start-stop-daemon --start --quiet --pidfile "@localstatedir@/run/openrc-settingsd.pid" \ - --make-pidfile --background "@libexecdir@/openrc-settingsd" -- \ - ${OPENRC_SETTINGSD_OPTS} + start-stop-daemon --start --quiet --pidfile "@pidfile@" \ + "@libexecdir@/openrc-settingsd" -- ${OPENRC_SETTINGSD_OPTS} eend $? } stop() { ebegin "Stopping openrc-settingsd" - start-stop-daemon --stop --quiet --pidfile "@localstatedir@/run/openrc-settingsd.pid" + start-stop-daemon --stop --quiet --pidfile "@pidfile@" eend $? } |