diff options
Diffstat (limited to 'units')
-rw-r--r-- | units/.gitignore | 1 | ||||
-rw-r--r-- | units/systemd-timesyncd.service.in | 20 |
2 files changed, 21 insertions, 0 deletions
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 |