set PWD to /etc/pyruse in systemd units
parent
cbe3fc2f56
commit
fd1f801808
|
@ -4,6 +4,7 @@ Description=Initialization of pyruse module %I
|
|||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/pyruse-boot "%I"
|
||||
WorkingDirectory=/etc/pyruse
|
||||
CapabilityBoundingSet=CAP_SYS_CHROOT
|
||||
NoNewPrivileges=true
|
||||
PrivateDevices=yes
|
||||
|
|
|
@ -3,6 +3,7 @@ Description=Route systemd-journal logs to filters and actions (ban, report…)
|
|||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/pyruse
|
||||
WorkingDirectory=/etc/pyruse
|
||||
CapabilityBoundingSet=CAP_SYS_CHROOT
|
||||
NoNewPrivileges=true
|
||||
PrivateDevices=yes
|
||||
|
|
Loading…
Reference in New Issue