summaryrefslogtreecommitdiff
path: root/units/systemd-timesyncd.service.in
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-04-29 08:57:51 +0200
committerKay Sievers <kay@vrfy.org>2014-04-29 09:51:53 +0200
commita91df40e69fec72cc98c9829721fa5153da28bc2 (patch)
tree7d1da98b41e9860df7b3d2d704ecb54618fe14aa /units/systemd-timesyncd.service.in
parent0b36bbc42d3a408531517a02acaf56105b863d55 (diff)
timesyncd: add unit and man page
Diffstat (limited to 'units/systemd-timesyncd.service.in')
-rw-r--r--units/systemd-timesyncd.service.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/units/systemd-timesyncd.service.in b/units/systemd-timesyncd.service.in
new file mode 100644
index 0000000000..4a363f71ca
--- /dev/null
+++ b/units/systemd-timesyncd.service.in
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Network Time Synchronization
+Documentation=man:systemd-timesyncd.service(8)
+ConditionCapability=CAP_SYS_TIME
+
+[Service]
+Type=notify
+Restart=always
+RestartSec=0
+ExecStart=@rootlibexecdir@/systemd-timesyncd
+
+[Install]
+WantedBy=multi-user.target