]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-homed.service.in
Merge pull request #17100 from poettering/homed-fixes
[thirdparty/systemd.git] / units / systemd-homed.service.in
CommitLineData
70a5db58
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]
b5947b5b 11Description=Home Area Manager
70a5db58 12Documentation=man:systemd-homed.service(8)
286fe8ee 13After=home.mount
70a5db58
LP
14
15[Service]
16BusName=org.freedesktop.home1
c9ef77ec 17CapabilityBoundingSet=CAP_SYS_ADMIN CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID CAP_SYS_RESOURCE
70a5db58
LP
18DeviceAllow=/dev/loop-control rw
19DeviceAllow=/dev/mapper/control rw
20DeviceAllow=block-* rw
21ExecStart=@rootlibexecdir@/systemd-homed
22IPAddressDeny=any
23KillMode=mixed
24LimitNOFILE=@HIGH_RLIMIT_NOFILE@
25LockPersonality=yes
26MemoryDenyWriteExecute=yes
27NoNewPrivileges=yes
70a5db58
LP
28RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_ALG
29RestrictNamespaces=mnt
30RestrictRealtime=yes
31StateDirectory=systemd/home
32SystemCallArchitectures=native
33SystemCallErrorNumber=EPERM
34SystemCallFilter=@system-service @mount
35@SERVICE_WATCHDOG@
5ef9eda1
ZJS
36
37[Install]
38WantedBy=multi-user.target
39Alias=dbus-org.freedesktop.home1.service
871dc8d6 40Also=systemd-userdbd.service