2017-11-18 17:35:03 +01:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
2015-01-22 03:57:15 +01:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Virtual Machine and Container Download Service
|
|
|
|
Documentation=man:systemd-importd.service(8)
|
2017-06-29 04:54:12 +02:00
|
|
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/importd
|
2015-01-22 03:57:15 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-importd
|
|
|
|
BusName=org.freedesktop.import1
|
2015-09-23 17:27:39 +02:00
|
|
|
WatchdogSec=3min
|
2015-04-24 16:12:28 +02:00
|
|
|
KillMode=mixed
|
2016-08-26 13:23:27 +02:00
|
|
|
CapabilityBoundingSet=CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD CAP_SETFCAP CAP_SYS_ADMIN CAP_SETPCAP CAP_DAC_OVERRIDE
|
|
|
|
NoNewPrivileges=yes
|
2016-06-08 14:23:37 +02:00
|
|
|
MemoryDenyWriteExecute=yes
|
2016-08-26 13:23:27 +02:00
|
|
|
RestrictRealtime=yes
|
2017-02-09 10:28:23 +01:00
|
|
|
RestrictNamespaces=net
|
2016-08-26 13:23:27 +02:00
|
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
2017-02-09 11:22:08 +01:00
|
|
|
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap
|
2017-02-08 22:32:37 +01:00
|
|
|
SystemCallArchitectures=native
|
2017-09-14 19:45:40 +02:00
|
|
|
LockPersonality=yes
|