]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-timedated.service.in
units: set LockPersonality= for all our long-running services (#6819)
[thirdparty/systemd.git] / units / systemd-timedated.service.in
CommitLineData
f401e48c
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
f401e48c
LP
6# (at your option) any later version.
7
f401e48c
LP
8[Unit]
9Description=Time & Date Service
608da9e9 10Documentation=man:systemd-timedated.service(8) man:localtime(5)
16a5d412 11Documentation=https://www.freedesktop.org/wiki/Software/systemd/timedated
f401e48c
LP
12
13[Service]
14ExecStart=@rootlibexecdir@/systemd-timedated
f401e48c 15BusName=org.freedesktop.timedate1
c2fc2c25 16WatchdogSec=3min
0c28d51a 17CapabilityBoundingSet=CAP_SYS_TIME
d99a7052 18PrivateTmp=yes
c7fb922d 19ProtectSystem=strict
1b8689f9 20ProtectHome=yes
0c28d51a
LP
21ProtectControlGroups=yes
22ProtectKernelTunables=yes
b6c7278c 23ProtectKernelModules=yes
40652ca4 24MemoryDenyWriteExecute=yes
0c28d51a 25RestrictRealtime=yes
3c19d0b4 26RestrictNamespaces=yes
0c28d51a 27RestrictAddressFamilies=AF_UNIX
6489ccfe 28SystemCallFilter=~@cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap
7f396e5f 29SystemCallArchitectures=native
bff8f254 30LockPersonality=yes
c7fb922d 31ReadWritePaths=/etc