]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-homed.service.in
man/systemd.mount: tmpfs automatically gains After=swap.target dep
[thirdparty/systemd.git] / units / systemd-homed.service.in
1 # SPDX-License-Identifier: LGPL-2.1-or-later
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]
11 Description=Home Area Manager
12 Documentation=man:systemd-homed.service(8)
13 Documentation=man:org.freedesktop.home1(5)
14 After=home.mount dbus.service
15
16 [Service]
17 BusName=org.freedesktop.home1
18 CapabilityBoundingSet=CAP_SYS_ADMIN CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID CAP_SYS_RESOURCE CAP_SETPCAP CAP_DAC_READ_SEARCH CAP_SETFCAP
19 DeviceAllow=/dev/loop-control rw
20 DeviceAllow=/dev/mapper/control rw
21 DeviceAllow=block-* rw
22 DeviceAllow=char-hidraw rw
23 ExecStart={{LIBEXECDIR}}/systemd-homed
24 KillMode=mixed
25 LimitNOFILE={{HIGH_RLIMIT_NOFILE}}
26 LockPersonality=yes
27 MemoryDenyWriteExecute=yes
28 NoNewPrivileges=yes
29 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_ALG AF_INET AF_INET6
30 RestrictNamespaces=mnt user
31 RestrictRealtime=yes
32 StateDirectory=systemd/home
33 SystemCallArchitectures=native
34 SystemCallErrorNumber=EPERM
35 SystemCallFilter=@system-service @mount quotactl
36 TimeoutStopSec=3min
37 {{SERVICE_WATCHDOG}}
38
39 [Install]
40 WantedBy=multi-user.target
41 Alias=dbus-org.freedesktop.home1.service
42 Also=systemd-homed-activate.service systemd-userdbd.service