summaryrefslogtreecommitdiff
path: root/nonsystemd/openntpd-openrc/ntpd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/openntpd-openrc/ntpd.initd')
-rw-r--r--nonsystemd/openntpd-openrc/ntpd.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/nonsystemd/openntpd-openrc/ntpd.initd b/nonsystemd/openntpd-openrc/ntpd.initd
new file mode 100644
index 000000000..11da63368
--- /dev/null
+++ b/nonsystemd/openntpd-openrc/ntpd.initd
@@ -0,0 +1,14 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+supervisor=supervise-daemon
+name="OpenNTPD"
+command="/usr/bin/ntpd"
+command_args="${NTPD_OPTS} -d"
+
+depend() {
+ need net
+ after ntp-client
+ use dns logger
+}