]> git.ipfire.org Git - thirdparty/systemd.git/blame_incremental - units/systemd-timedated.service.in
systemd-sleep: use swaps in priority order
[thirdparty/systemd.git] / units / systemd-timedated.service.in
... / ...
CommitLineData
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]
11Description=Time & Date Service
12Documentation=man:systemd-timedated.service(8) man:localtime(5)
13Documentation=https://www.freedesktop.org/wiki/Software/systemd/timedated
14
15[Service]
16BusName=org.freedesktop.timedate1
17CapabilityBoundingSet=CAP_SYS_TIME
18DeviceAllow=char-rtc r
19ExecStart=@rootlibexecdir@/systemd-timedated
20IPAddressDeny=any
21LockPersonality=yes
22MemoryDenyWriteExecute=yes
23NoNewPrivileges=yes
24PrivateTmp=yes
25ProtectControlGroups=yes
26ProtectHome=yes
27ProtectHostname=yes
28ProtectKernelModules=yes
29ProtectKernelTunables=yes
30ProtectSystem=strict
31ReadWritePaths=/etc
32RestrictAddressFamilies=AF_UNIX
33RestrictNamespaces=yes
34RestrictRealtime=yes
35RestrictSUIDSGID=yes
36SystemCallArchitectures=native
37SystemCallErrorNumber=EPERM
38SystemCallFilter=@system-service @clock
39WatchdogSec=3min