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