]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-localed.service.in
homed: explicitly deactivate all home directories on shutdown
[thirdparty/systemd.git] / units / systemd-localed.service.in
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]
11 Description=Locale Service
12 Documentation=man:systemd-localed.service(8)
13 Documentation=man:locale.conf(5)
14 Documentation=man:vconsole.conf(5)
15 Documentation=man:org.freedesktop.locale1(5)
16
17 [Service]
18 BusName=org.freedesktop.locale1
19 CapabilityBoundingSet=
20 ExecStart=@rootlibexecdir@/systemd-localed
21 IPAddressDeny=any
22 LockPersonality=yes
23 MemoryDenyWriteExecute=yes
24 NoNewPrivileges=yes
25 PrivateDevices=yes
26 PrivateNetwork=yes
27 PrivateTmp=yes
28 ProtectProc=invisible
29 ProtectControlGroups=yes
30 ProtectHome=yes
31 ProtectHostname=yes
32 ProtectKernelLogs=yes
33 ProtectKernelModules=yes
34 ProtectKernelTunables=yes
35 ProtectSystem=strict
36 ReadWritePaths=/etc
37 RestrictAddressFamilies=AF_UNIX
38 RestrictNamespaces=yes
39 RestrictRealtime=yes
40 RestrictSUIDSGID=yes
41 SystemCallArchitectures=native
42 SystemCallErrorNumber=EPERM
43 SystemCallFilter=@system-service
44 @SERVICE_WATCHDOG@