]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-timedated.service.in
906bb4326cae9f8ab35b02ecd2258e29f1c992bb
[thirdparty/systemd.git] / units / systemd-timedated.service.in
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
3 # This file is part of systemd.
4 #
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.
9
10 [Unit]
11 Description=Time & Date Service
12 Documentation=man:systemd-timedated.service(8) man:localtime(5)
13 Documentation=https://www.freedesktop.org/wiki/Software/systemd/timedated
14
15 [Service]
16 ExecStart=@rootlibexecdir@/systemd-timedated
17 BusName=org.freedesktop.timedate1
18 WatchdogSec=3min
19 CapabilityBoundingSet=CAP_SYS_TIME
20 PrivateTmp=yes
21 ProtectSystem=strict
22 ProtectHome=yes
23 ProtectControlGroups=yes
24 ProtectKernelTunables=yes
25 ProtectKernelModules=yes
26 MemoryDenyWriteExecute=yes
27 RestrictRealtime=yes
28 RestrictNamespaces=yes
29 RestrictAddressFamilies=AF_UNIX
30 SystemCallFilter=@system-service @clock
31 SystemCallErrorNumber=EPERM
32 SystemCallArchitectures=native
33 LockPersonality=yes
34 IPAddressDeny=any
35 ReadWritePaths=/etc