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