summarylogtreecommitdiffstats
path: root/ntpd.service
diff options
context:
space:
mode:
authorThai Chung2017-08-02 18:01:54 +0200
committerThai Chung2017-08-02 18:05:17 +0200
commit28398ec06e648af677cf20e108062fef7d9b2384 (patch)
treec692d9fc567c534a10ae859e31168dbf85748145 /ntpd.service
downloadaur-ntp-smeared.tar.gz
ntp-4.2.8p10
Diffstat (limited to 'ntpd.service')
-rw-r--r--ntpd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/ntpd.service b/ntpd.service
new file mode 100644
index 00000000000..267615cb96d
--- /dev/null
+++ b/ntpd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Network Time Service
+After=network.target nss-lookup.target
+Conflicts=systemd-timesyncd.service
+
+[Service]
+Type=forking
+PrivateTmp=true
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp
+Restart=always
+
+[Install]
+WantedBy=multi-user.target