]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-userdbd.service.in
Merge pull request #15954 from keszybz/unit-file-leak
[thirdparty/systemd.git] / units / systemd-userdbd.service.in
CommitLineData
d093b62c
LP
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]
11Description=User Database Manager
12Documentation=man:systemd-userdbd.service(8)
13Requires=systemd-userdbd.socket
14After=systemd-userdbd.socket
15Before=sysinit.target
16DefaultDependencies=no
17
18[Service]
19CapabilityBoundingSet=CAP_DAC_READ_SEARCH
20ExecStart=@rootlibexecdir@/systemd-userdbd
21IPAddressDeny=any
22LimitNOFILE=@HIGH_RLIMIT_NOFILE@
23LockPersonality=yes
24MemoryDenyWriteExecute=yes
25NoNewPrivileges=yes
26PrivateDevices=yes
27ProtectControlGroups=yes
28ProtectHome=yes
29ProtectHostname=yes
30ProtectKernelLogs=yes
31ProtectKernelModules=yes
32ProtectSystem=strict
33RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
34RestrictNamespaces=yes
35RestrictRealtime=yes
36RestrictSUIDSGID=yes
37SystemCallArchitectures=native
38SystemCallErrorNumber=EPERM
39SystemCallFilter=@system-service
40Type=notify
41@SERVICE_WATCHDOG@
ead7af30
ZJS
42
43[Install]
44Also=systemd-userdbd.socket