Browse Source

remove Capabilities limit: it causes failure on external commands

master
Y 3 years ago
parent
commit
7f8ae95a5f
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      extra/systemd/pyruse-boot@.service
  2. +0
    -1
      extra/systemd/pyruse.service

+ 0
- 1
extra/systemd/pyruse-boot@.service View File

@ -5,7 +5,6 @@ Description=Initialization of pyruse module %I
Type=oneshot
ExecStart=/usr/bin/pyruse-boot "%I"
WorkingDirectory=/etc/pyruse
CapabilityBoundingSet=CAP_SYS_CHROOT
NoNewPrivileges=true
PrivateDevices=yes
PrivateTmp=yes


+ 0
- 1
extra/systemd/pyruse.service View File

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


Loading…
Cancel
Save