2017-11-19 00:35:03 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
2015-01-22 10:57:15 +08: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 10:54:12 +08:00
|
|
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/importd
|
2015-01-22 10:57:15 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-importd
|
|
|
|
BusName=org.freedesktop.import1
|
2015-09-23 23:27:39 +08:00
|
|
|
WatchdogSec=3min
|
2015-04-24 22:12:28 +08:00
|
|
|
KillMode=mixed
|
2016-08-26 19:23:27 +08: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 20:23:37 +08:00
|
|
|
MemoryDenyWriteExecute=yes
|
2019-02-19 06:30:12 +08:00
|
|
|
ProtectHostname=yes
|
2016-08-26 19:23:27 +08:00
|
|
|
RestrictRealtime=yes
|
2017-02-09 17:28:23 +08:00
|
|
|
RestrictNamespaces=net
|
2016-08-26 19:23:27 +08:00
|
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
2018-04-19 17:04:17 +08:00
|
|
|
SystemCallFilter=@system-service @mount
|
|
|
|
SystemCallErrorNumber=EPERM
|
2017-02-09 05:32:37 +08:00
|
|
|
SystemCallArchitectures=native
|
2017-09-15 01:45:40 +08:00
|
|
|
LockPersonality=yes
|