summaryrefslogtreecommitdiffstats
path: root/package/openntpd/ntpd.service
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-01-20 20:31:26 -0300
committerPeter Korsgaard <peter@korsgaard.com>2015-01-23 21:43:17 +0100
commit35f37d762648bb921aafd43fb34476c76e4eec91 (patch)
tree23b70c5e0cc57e5d4a7ef88e8ee95ac1f6b22353 /package/openntpd/ntpd.service
parent1126176be64c2e71f190e43b31247d33a351fdc9 (diff)
downloadbuildroot-35f37d762648bb921aafd43fb34476c76e4eec91.tar.gz
buildroot-35f37d762648bb921aafd43fb34476c76e4eec91.zip
openntpd: add systemd unit file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/openntpd/ntpd.service')
-rw-r--r--package/openntpd/ntpd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/openntpd/ntpd.service b/package/openntpd/ntpd.service
new file mode 100644
index 0000000000..a4ffa7318c
--- /dev/null
+++ b/package/openntpd/ntpd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenNTP Daemon
+After=network.target
+Conflicts=systemd-timesyncd.service
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/ntpd -s -d
+
+[Install]
+WantedBy=multi-user.target
OpenPOWER on IntegriCloud