summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/sntpd/files/sntpd.initd-r1')
-rw-r--r--net-misc/sntpd/files/sntpd.initd-r114
1 files changed, 14 insertions, 0 deletions
diff --git a/net-misc/sntpd/files/sntpd.initd-r1 b/net-misc/sntpd/files/sntpd.initd-r1
new file mode 100644
index 000000000000..ebe857af4afd
--- /dev/null
+++ b/net-misc/sntpd/files/sntpd.initd-r1
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="sntpd"
+pidfile="/run/sntpd.pid"
+
+command="/usr/sbin/sntpd"
+command_args="-n ${SNTPD_OPTS}"
+command_background="true"
+
+depend() {
+ use net dns logger
+}