diff options
Diffstat (limited to 'net-dns/ddclient/files/ddclient.initd-r4')
-rw-r--r-- | net-dns/ddclient/files/ddclient.initd-r4 | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/net-dns/ddclient/files/ddclient.initd-r4 b/net-dns/ddclient/files/ddclient.initd-r4 deleted file mode 100644 index c25f02965196..000000000000 --- a/net-dns/ddclient/files/ddclient.initd-r4 +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PIDFILE="/run/ddclient/ddclient.pid" - -depend() { - before cron - need net - use dns logger squid -} - -checkconfig() { - checkpath -f -m 0600 -o ddclient:ddclient /etc/ddclient/ddclient.conf || return 1 - checkpath -d -m 0700 -o ddclient:ddclient /run/ddclient || return 1 - checkpath -d -m 0700 -o ddclient:ddclient /var/cache/ddclient || return 1 -} - -start() { - checkconfig || return 1 - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start \ - --user ddclient \ - --name ddclient \ - --pidfile ${PIDFILE} \ - --exec /usr/sbin/ddclient -- -pid=${PIDFILE} - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --signal USR1 --pidfile ${PIDFILE} - eend $? -} |