]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-homed.service.in
license: LGPL-2.1+ -> LGPL-2.1-or-later
[thirdparty/systemd.git] / units / systemd-homed.service.in
CommitLineData
db9ecf05 1# SPDX-License-Identifier: LGPL-2.1-or-later
70a5db58
LP
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)
21006e0e
ZJS
13Documentation=man:org.freedesktop.home1(5)
14
286fe8ee 15After=home.mount
70a5db58
LP
16
17[Service]
18BusName=org.freedesktop.home1
c9ef77ec 19CapabilityBoundingSet=CAP_SYS_ADMIN CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID CAP_SYS_RESOURCE
70a5db58
LP
20DeviceAllow=/dev/loop-control rw
21DeviceAllow=/dev/mapper/control rw
22DeviceAllow=block-* rw
23ExecStart=@rootlibexecdir@/systemd-homed
24IPAddressDeny=any
25KillMode=mixed
26LimitNOFILE=@HIGH_RLIMIT_NOFILE@
27LockPersonality=yes
28MemoryDenyWriteExecute=yes
29NoNewPrivileges=yes
70a5db58
LP
30RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_ALG
31RestrictNamespaces=mnt
32RestrictRealtime=yes
33StateDirectory=systemd/home
34SystemCallArchitectures=native
35SystemCallErrorNumber=EPERM
36SystemCallFilter=@system-service @mount
37@SERVICE_WATCHDOG@
5ef9eda1
ZJS
38
39[Install]
40WantedBy=multi-user.target
41Alias=dbus-org.freedesktop.home1.service
d1f6e01e 42Also=systemd-homed-activate.service systemd-userdbd.service