dbus-org.freedesktop.timedate1.service 1.1 KB

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