]>
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=Locale Service | |
62ce6212 | 12 | Documentation=man:systemd-localed.service(8) man:locale.conf(5) man:vconsole.conf(5) |
16a5d412 | 13 | Documentation=https://www.freedesktop.org/wiki/Software/systemd/localed |
f401e48c LP |
14 | |
15 | [Service] | |
f401e48c | 16 | BusName=org.freedesktop.locale1 |
0c28d51a | 17 | CapabilityBoundingSet= |
3ca9940c LP |
18 | ExecStart=@rootlibexecdir@/systemd-localed |
19 | IPAddressDeny=any | |
20 | LockPersonality=yes | |
21 | MemoryDenyWriteExecute=yes | |
22 | NoNewPrivileges=yes | |
d99a7052 | 23 | PrivateDevices=yes |
f21a71a9 | 24 | PrivateNetwork=yes |
3ca9940c | 25 | PrivateTmp=yes |
0c28d51a | 26 | ProtectControlGroups=yes |
3ca9940c | 27 | ProtectHome=yes |
99894b86 | 28 | ProtectHostname=yes |
b6c7278c | 29 | ProtectKernelModules=yes |
3ca9940c | 30 | ProtectKernelTunables=yes |
6168ae58 | 31 | ProtectKernelLogs=yes |
3ca9940c LP |
32 | ProtectSystem=strict |
33 | ReadWritePaths=/etc | |
0c28d51a | 34 | RestrictAddressFamilies=AF_UNIX |
3ca9940c LP |
35 | RestrictNamespaces=yes |
36 | RestrictRealtime=yes | |
62aa2924 | 37 | RestrictSUIDSGID=yes |
7f396e5f | 38 | SystemCallArchitectures=native |
3ca9940c LP |
39 | SystemCallErrorNumber=EPERM |
40 | SystemCallFilter=@system-service | |
21d0dd5a | 41 | @SERVICE_WATCHDOG@ |