1 # SPDX-License-Identifier: LGPL-2.1+
3 # This file is part of systemd.
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.
11 Description=Home Area Manager
12 Documentation=man:systemd-homed.service(8)
16 BusName=org.freedesktop.home1
17 CapabilityBoundingSet=CAP_SYS_ADMIN CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID
18 DeviceAllow=/dev/loop-control rw
19 DeviceAllow=/dev/mapper/control rw
20 DeviceAllow=block-* rw
21 ExecStart=@rootlibexecdir@/systemd-homed
24 LimitNOFILE=@HIGH_RLIMIT_NOFILE@
26 MemoryDenyWriteExecute=yes
28 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_ALG
29 RestrictNamespaces=mnt
31 StateDirectory=systemd/home
32 SystemCallArchitectures=native
33 SystemCallErrorNumber=EPERM
34 SystemCallFilter=@system-service @mount
38 WantedBy=multi-user.target
39 Alias=dbus-org.freedesktop.home1.service
40 Also=systemd-userdbd.service