diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /net-dns/ddclient/files | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'net-dns/ddclient/files')
-rw-r--r-- | net-dns/ddclient/files/ddclient.initd-r6 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-dns/ddclient/files/ddclient.initd-r6 b/net-dns/ddclient/files/ddclient.initd-r6 new file mode 100644 index 000000000000..7bdc433d1ed1 --- /dev/null +++ b/net-dns/ddclient/files/ddclient.initd-r6 @@ -0,0 +1,22 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="DDclient" +pidfile="/run/ddclient/${RC_SVCNAME}.pid" + +command="/usr/bin/ddclient" +command_args="-pid ${pidfile}" +command_group="ddclient" +command_user="ddclient" + +depend() { + need net + use dns logger +} + +start_pre() { + checkpath -f -m 0600 -o ${command_user}:${command_group} /etc/ddclient/ddclient.conf + checkpath -d -m 0700 -o ${command_user}:${command_group} /run/ddclient + checkpath -d -m 0700 -o ${command_user}:${command_group} /var/cache/ddclient +} |