]> git.proxmox.com Git - systemd.git/blame - units/systemd-importd.service.in
New upstream version 249~rc1
[systemd.git] / units / systemd-importd.service.in
CommitLineData
a032b68d 1# SPDX-License-Identifier: LGPL-2.1-or-later
52ad194e 2#
e735f4d4
MP
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]
11Description=Virtual Machine and Container Download Service
12Documentation=man:systemd-importd.service(8)
a032b68d 13Documentation=man:org.freedesktop.import1(5)
e735f4d4
MP
14
15[Service]
8b3d4ff0 16ExecStart={{ROOTLIBEXECDIR}}/systemd-importd
e735f4d4 17BusName=org.freedesktop.import1
e3bff60a 18KillMode=mixed
8b3d4ff0 19CapabilityBoundingSet=CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD CAP_SETFCAP CAP_SYS_ADMIN CAP_SETPCAP CAP_DAC_OVERRIDE CAP_LINUX_IMMUTABLE
8a584da2 20NoNewPrivileges=yes
5a920b42 21MemoryDenyWriteExecute=yes
bb4f798a 22ProtectHostname=yes
8a584da2 23RestrictRealtime=yes
81c58355 24RestrictNamespaces=net
8a584da2 25RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
b012e921
MB
26SystemCallFilter=@system-service @mount
27SystemCallErrorNumber=EPERM
81c58355 28SystemCallArchitectures=native
f5e65279 29LockPersonality=yes
8b3d4ff0 30{{SERVICE_WATCHDOG}}