From a91df40e69fec72cc98c9829721fa5153da28bc2 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 29 Apr 2014 08:57:51 +0200 Subject: timesyncd: add unit and man page --- units/.gitignore | 1 + units/systemd-timesyncd.service.in | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 units/systemd-timesyncd.service.in (limited to 'units') diff --git a/units/.gitignore b/units/.gitignore index 3bae4b46b6..fca17c974f 100644 --- a/units/.gitignore +++ b/units/.gitignore @@ -54,6 +54,7 @@ /systemd-suspend.service /systemd-sysctl.service /systemd-timedated.service +/systemd-timesyncd.service /systemd-tmpfiles-clean.service /systemd-tmpfiles-setup-dev.service /systemd-tmpfiles-setup.service 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 -- cgit v1.2.3-54-g00ecf