summaryrefslogtreecommitdiffstats
path: root/abs/core/ntp/ntpd.service
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:47:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:47:00 (GMT)
commitd8b184861c06ae009bb0351ab0d5dba1a36b8e42 (patch)
tree8f708e0bdd8d6ace1244df033794cd379f44f8ad /abs/core/ntp/ntpd.service
parente8a245cc01440494094fa910176eb9ae13446a23 (diff)
downloadlinhes_pkgbuild-d8b184861c06ae009bb0351ab0d5dba1a36b8e42.zip
linhes_pkgbuild-d8b184861c06ae009bb0351ab0d5dba1a36b8e42.tar.gz
linhes_pkgbuild-d8b184861c06ae009bb0351ab0d5dba1a36b8e42.tar.bz2
ntp: ntp 4.2.6
Diffstat (limited to 'abs/core/ntp/ntpd.service')
-rw-r--r--abs/core/ntp/ntpd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/ntp/ntpd.service b/abs/core/ntp/ntpd.service
new file mode 100644
index 0000000..e0cbf87
--- /dev/null
+++ b/abs/core/ntp/ntpd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Network Time Service
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/ntpd.pid
+EnvironmentFile=/etc/conf.d/ntpd.conf
+ExecStart=/usr/bin/ntpd $NTPD_ARGS -p /run/ntpd.pid
+
+[Install]
+WantedBy=multi-user.target