Skip to content

Commit

Permalink
Update portmaster.service file
Browse files Browse the repository at this point in the history
Updated the file to point to the proper links as per the updated Linux process flows.
from: "/var/lib/... " to "/opt/safing/..."
  • Loading branch information
iMprjkt authored Nov 29, 2021
1 parent 7df2391 commit 33849ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions linux/debian/portmaster.service
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateTmp=yes
PIDFile=/var/lib/portmaster/core-lock.pid
PIDFile=/opt/safing/portmaster/core-lock.pid
Environment=LOGLEVEL=info
Environment=PORTMASTER_ARGS=
EnvironmentFile=-/etc/default/portmaster
ProtectSystem=true
#ReadWritePaths=/var/lib/portmaster
#ReadWritePaths=/opt/safing/portmaster
#ReadWritePaths=/run/xtables.lock
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
RestrictNamespaces=yes
Expand All @@ -41,7 +41,7 @@ SystemCallArchitectures=native
#
#SystemCallFilter=@system-service @module
#SystemCallErrorNumber=EPERM
ExecStart=/var/lib/portmaster/portmaster-start --data /var/lib/portmaster core -- --log $LOGLEVEL $PORTMASTER_ARGS
ExecStart=/opt/safing/portmaster/portmaster-start --data /opt/safing/portmaster core -- --log $LOGLEVEL $PORTMASTER_ARGS
ExecStopPost=-/sbin/iptables -F C17
ExecStopPost=-/sbin/iptables -t mangle -F C170
ExecStopPost=-/sbin/iptables -t mangle -F C171
Expand Down

0 comments on commit 33849ff

Please sign in to comment.