]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-importd.service.in
travis: turn on nonnull-attribute on Fuzzit
[thirdparty/systemd.git] / units / systemd-importd.service.in
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=Virtual Machine and Container Download Service
12 Documentation=man:systemd-importd.service(8)
13 Documentation=https://www.freedesktop.org/wiki/Software/systemd/importd
14
15 [Service]
16 ExecStart=@rootlibexecdir@/systemd-importd
17 BusName=org.freedesktop.import1
18 WatchdogSec=3min
19 KillMode=mixed
20 CapabilityBoundingSet=CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD CAP_SETFCAP CAP_SYS_ADMIN CAP_SETPCAP CAP_DAC_OVERRIDE
21 NoNewPrivileges=yes
22 MemoryDenyWriteExecute=yes
23 ProtectHostname=yes
24 RestrictRealtime=yes
25 RestrictNamespaces=net
26 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
27 SystemCallFilter=@system-service @mount
28 SystemCallErrorNumber=EPERM
29 SystemCallArchitectures=native
30 LockPersonality=yes