1 # SPDX-License-Identifier: LGPL-2.1-or-later
3 # This file is part of systemd.
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
11 Description=Time & Date Service
12 Documentation=man:systemd-timedated.service(8)
13 Documentation=man:localtime(5)
14 Documentation=man:org.freedesktop.timedate1(5)
17 BusName=org.freedesktop.timedate1
18 CapabilityBoundingSet=CAP_SYS_TIME
19 DeviceAllow=char-rtc r
20 ExecStart={{LIBEXECDIR}}/systemd-timedated
23 MemoryDenyWriteExecute=yes
27 ProtectControlGroups=yes
31 ProtectKernelModules=yes
32 ProtectKernelTunables=yes
35 RestrictAddressFamilies=AF_UNIX
36 RestrictNamespaces=yes
39 SystemCallArchitectures=native
40 SystemCallErrorNumber=EPERM
41 SystemCallFilter=@system-service @clock