CAP_SYS_ADMIN needed for running commands in a container (nsenter)

master
Y 2018-02-05 08:30:09 +01:00
parent 6a5de578bb
commit 75800a616f
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ Description=Route systemd-journal logs to filters and actions (ban, report…)
[Service]
ExecStart=/usr/bin/pyruse
WorkingDirectory=/etc/pyruse
CapabilityBoundingSet=CAP_SYS_CHROOT
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SYS_CHROOT
NoNewPrivileges=true
PrivateDevices=yes
PrivateTmp=yes