2011-06-15 13:37:39 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-11 22:20:58 +00:00
|
|
|
# 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
|
2011-06-15 13:37:39 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Time & Date Service
|
2012-08-22 06:11:27 +00:00
|
|
|
Documentation=man:systemd-timedated.service(8) man:localtime(5)
|
2017-06-29 02:54:12 +00:00
|
|
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/timedated
|
2011-06-15 13:37:39 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-timedated
|
|
|
|
BusName=org.freedesktop.timedate1
|
2015-09-23 15:27:39 +00:00
|
|
|
WatchdogSec=3min
|
2016-08-26 11:23:27 +00:00
|
|
|
CapabilityBoundingSet=CAP_SYS_TIME
|
2014-03-19 15:45:28 +00:00
|
|
|
PrivateTmp=yes
|
2017-02-09 09:58:28 +00:00
|
|
|
ProtectSystem=strict
|
2014-06-04 16:07:55 +00:00
|
|
|
ProtectHome=yes
|
2016-08-26 11:23:27 +00:00
|
|
|
ProtectControlGroups=yes
|
|
|
|
ProtectKernelTunables=yes
|
2017-02-09 10:09:50 +00:00
|
|
|
ProtectKernelModules=yes
|
2016-06-08 12:23:37 +00:00
|
|
|
MemoryDenyWriteExecute=yes
|
2016-08-26 11:23:27 +00:00
|
|
|
RestrictRealtime=yes
|
2017-02-09 09:28:23 +00:00
|
|
|
RestrictNamespaces=yes
|
2016-08-26 11:23:27 +00:00
|
|
|
RestrictAddressFamilies=AF_UNIX
|
2017-02-09 10:22:08 +00:00
|
|
|
SystemCallFilter=~@cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap
|
2017-02-08 21:32:37 +00:00
|
|
|
SystemCallArchitectures=native
|
2017-02-09 09:58:28 +00:00
|
|
|
ReadWritePaths=/etc
|