2017-11-18 17:35:03 +01:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
2011-06-15 15:37:39 +02:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 00:20:58 +02:00
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
2011-06-15 15:37:39 +02:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Locale Service
|
2012-06-25 23:55:35 +02:00
|
|
|
Documentation=man:systemd-localed.service(8) man:locale.conf(5) man:vconsole.conf(5)
|
2017-06-29 04:54:12 +02:00
|
|
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/localed
|
2011-06-15 15:37:39 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-localed
|
|
|
|
BusName=org.freedesktop.locale1
|
2015-09-23 17:27:39 +02:00
|
|
|
WatchdogSec=3min
|
2016-08-26 13:23:27 +02:00
|
|
|
CapabilityBoundingSet=
|
2014-03-19 16:45:28 +01:00
|
|
|
PrivateTmp=yes
|
|
|
|
PrivateDevices=yes
|
2014-03-19 23:08:39 +01:00
|
|
|
PrivateNetwork=yes
|
2017-02-09 10:58:28 +01:00
|
|
|
ProtectSystem=strict
|
2014-06-04 18:07:55 +02:00
|
|
|
ProtectHome=yes
|
2016-08-26 13:23:27 +02:00
|
|
|
ProtectControlGroups=yes
|
|
|
|
ProtectKernelTunables=yes
|
2017-02-09 11:09:50 +01:00
|
|
|
ProtectKernelModules=yes
|
2016-06-08 14:23:37 +02:00
|
|
|
MemoryDenyWriteExecute=yes
|
2016-08-26 13:23:27 +02:00
|
|
|
RestrictRealtime=yes
|
2017-02-09 10:28:23 +01:00
|
|
|
RestrictNamespaces=yes
|
2016-08-26 13:23:27 +02:00
|
|
|
RestrictAddressFamilies=AF_UNIX
|
2018-04-19 11:04:17 +02:00
|
|
|
SystemCallFilter=@system-service
|
|
|
|
SystemCallErrorNumber=EPERM
|
2017-02-08 22:32:37 +01:00
|
|
|
SystemCallArchitectures=native
|
2017-09-14 19:45:40 +02:00
|
|
|
LockPersonality=yes
|
2017-10-04 14:16:28 +02:00
|
|
|
IPAddressDeny=any
|
2017-02-09 10:58:28 +01:00
|
|
|
ReadWritePaths=/etc
|