1:255.13-alt1
[systemd_ALT.git] / units / systemd-timedated.service.in
blob00f6643ba7e676aeb07a2553d34239a8ed994dec
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.
10 [Unit]
11 Description=Time & Date Service
12 Documentation=man:systemd-timedated.service(8)
13 Documentation=man:localtime(5)
14 Documentation=man:org.freedesktop.timedate1(5)
16 [Service]
17 BusName=org.freedesktop.timedate1
18 CapabilityBoundingSet=CAP_SYS_TIME
19 DeviceAllow=char-rtc r
20 ExecStart={{LIBEXECDIR}}/systemd-timedated
21 IPAddressDeny=any
22 LockPersonality=yes
23 MemoryDenyWriteExecute=yes
24 NoNewPrivileges=yes
25 PrivateTmp=yes
26 ProtectProc=invisible
27 ProtectControlGroups=yes
28 ProtectHome=yes
29 ProtectHostname=yes
30 ProtectKernelLogs=yes
31 ProtectKernelModules=yes
32 ProtectKernelTunables=yes
33 ProtectSystem=strict
34 ReadWritePaths=/etc
35 RestrictAddressFamilies=AF_UNIX
36 RestrictNamespaces=yes
37 RestrictRealtime=yes
38 RestrictSUIDSGID=yes
39 SystemCallArchitectures=native
40 SystemCallErrorNumber=EPERM
41 SystemCallFilter=@system-service @clock
42 {{SERVICE_WATCHDOG}}