]>
Commit | Line | Data |
---|---|---|
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 | 11 | Description=Home Area Manager |
70a5db58 | 12 | Documentation=man:systemd-homed.service(8) |
286fe8ee | 13 | After=home.mount |
70a5db58 LP |
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 | PrivateNetwork=yes | |
29 | RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_ALG | |
30 | RestrictNamespaces=mnt | |
31 | RestrictRealtime=yes | |
32 | StateDirectory=systemd/home | |
33 | SystemCallArchitectures=native | |
34 | SystemCallErrorNumber=EPERM | |
35 | SystemCallFilter=@system-service @mount | |
36 | @SERVICE_WATCHDOG@ | |
5ef9eda1 ZJS |
37 | |
38 | [Install] | |
39 | WantedBy=multi-user.target | |
40 | Alias=dbus-org.freedesktop.home1.service |