]>
Commit | Line | Data |
---|---|---|
a7df2d1e ZJS |
1 | # SPDX-License-Identifier: LGPL-2.1+ |
2 | # | |
f401e48c LP |
3 | # This file is part of systemd. |
4 | # | |
5 | # systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
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 | |
f401e48c LP |
8 | # (at your option) any later version. |
9 | ||
f401e48c LP |
10 | [Unit] |
11 | Description=Time & Date Service | |
608da9e9 | 12 | Documentation=man:systemd-timedated.service(8) man:localtime(5) |
16a5d412 | 13 | Documentation=https://www.freedesktop.org/wiki/Software/systemd/timedated |
f401e48c LP |
14 | |
15 | [Service] | |
16 | ExecStart=@rootlibexecdir@/systemd-timedated | |
f401e48c | 17 | BusName=org.freedesktop.timedate1 |
c2fc2c25 | 18 | WatchdogSec=3min |
0c28d51a | 19 | CapabilityBoundingSet=CAP_SYS_TIME |
d99a7052 | 20 | PrivateTmp=yes |
c7fb922d | 21 | ProtectSystem=strict |
1b8689f9 | 22 | ProtectHome=yes |
0c28d51a LP |
23 | ProtectControlGroups=yes |
24 | ProtectKernelTunables=yes | |
b6c7278c | 25 | ProtectKernelModules=yes |
40652ca4 | 26 | MemoryDenyWriteExecute=yes |
0c28d51a | 27 | RestrictRealtime=yes |
3c19d0b4 | 28 | RestrictNamespaces=yes |
0c28d51a | 29 | RestrictAddressFamilies=AF_UNIX |
ee8f2618 LP |
30 | SystemCallFilter=@system-service @clock |
31 | SystemCallErrorNumber=EPERM | |
7f396e5f | 32 | SystemCallArchitectures=native |
bff8f254 | 33 | LockPersonality=yes |
0a9b166b | 34 | IPAddressDeny=any |
c7fb922d | 35 | ReadWritePaths=/etc |