summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-10-02 19:09:10 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-10-02 19:30:28 +0200
commit5e12ac362a472001de666a1d3516400a852c7717 (patch)
treed10d0e05f539fe803aba0064b1e211fe5175a886 /net-dns/ddclient/files/ddclient.initd-r7
parentmedia-sound/deadbeef: 1.9.2 version bump. (diff)
downloadgentoo-5e12ac362a472001de666a1d3516400a852c7717.tar.gz
gentoo-5e12ac362a472001de666a1d3516400a852c7717.tar.bz2
gentoo-5e12ac362a472001de666a1d3516400a852c7717.zip
net-dns/ddclient: add 3.10.0_rc2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-dns/ddclient/files/ddclient.initd-r7')
-rw-r--r--net-dns/ddclient/files/ddclient.initd-r722
1 files changed, 22 insertions, 0 deletions
diff --git a/net-dns/ddclient/files/ddclient.initd-r7 b/net-dns/ddclient/files/ddclient.initd-r7
new file mode 100644
index 000000000000..62a6a9da6412
--- /dev/null
+++ b/net-dns/ddclient/files/ddclient.initd-r7
@@ -0,0 +1,22 @@
+#!/sbin/openrc-run
+# Copyright 1999-2022 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.conf
+ checkpath -d -m 0700 -o ${command_user}:${command_group} /run/ddclient
+ checkpath -d -m 0700 -o ${command_user}:${command_group} /var/lib/cache/ddclient
+}