systemd-localed.service 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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=Locale Service
  11. Documentation=man:systemd-localed.service(8) man:locale.conf(5) man:vconsole.conf(5)
  12. Documentation=https://www.freedesktop.org/wiki/Software/systemd/localed
  13. [Service]
  14. BusName=org.freedesktop.locale1
  15. CapabilityBoundingSet=
  16. ExecStart=/lib/systemd/systemd-localed
  17. IPAddressDeny=any
  18. LockPersonality=yes
  19. MemoryDenyWriteExecute=yes
  20. NoNewPrivileges=yes
  21. PrivateDevices=yes
  22. PrivateNetwork=yes
  23. PrivateTmp=yes
  24. ProtectControlGroups=yes
  25. ProtectHome=yes
  26. ProtectHostname=yes
  27. ProtectKernelModules=yes
  28. ProtectKernelTunables=yes
  29. ProtectKernelLogs=yes
  30. ProtectSystem=strict
  31. ReadWritePaths=/etc
  32. RestrictAddressFamilies=AF_UNIX
  33. RestrictNamespaces=yes
  34. RestrictRealtime=yes
  35. RestrictSUIDSGID=yes
  36. SystemCallArchitectures=native
  37. SystemCallErrorNumber=EPERM
  38. SystemCallFilter=@system-service
  39. WatchdogSec=3min