]>
Commit | Line | Data |
---|---|---|
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] | |
11 | Description=Home Area Manager | |
12 | Documentation=man:systemd-homed.service(8) | |
13 | After=home.mount | |
14 | ||
15 | [Service] | |
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 | |
22 | IPAddressDeny=any | |
23 | KillMode=mixed | |
24 | LimitNOFILE=@HIGH_RLIMIT_NOFILE@ | |
25 | LockPersonality=yes | |
26 | MemoryDenyWriteExecute=yes | |
27 | NoNewPrivileges=yes | |
28 | RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_ALG | |
29 | RestrictNamespaces=mnt | |
30 | RestrictRealtime=yes | |
31 | StateDirectory=systemd/home | |
32 | SystemCallArchitectures=native | |
33 | SystemCallErrorNumber=EPERM | |
34 | SystemCallFilter=@system-service @mount | |
35 | @SERVICE_WATCHDOG@ | |
36 | ||
37 | [Install] | |
38 | WantedBy=multi-user.target | |
39 | Alias=dbus-org.freedesktop.home1.service | |
40 | Also=systemd-userdbd.service |