Skip to content

Commit

Permalink
Fix and update portmaster.service
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Mar 21, 2021
1 parent 9f9cbac commit d1b5816
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion linux/debian/portmaster.service
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ ExecStart=/var/lib/portmaster/portmaster-start --data /var/lib/portmaster core -
ExecStopPost=-/sbin/iptables -F C17
ExecStopPost=-/sbin/iptables -t mangle -F C170
ExecStopPost=-/sbin/iptables -t mangle -F C171
ExecStopPost=-bash -c "systemctl is-enabled systemd-resolved && systemctl restart systemd-resolved"
ExecStopPost=-/sbin/ip6tables -F C17
ExecStopPost=-/sbin/ip6tables -t mangle -F C170
ExecStopPost=-/sbin/ip6tables -t mangle -F C171

[Install]
WantedBy=multi-user.target

0 comments on commit d1b5816

Please sign in to comment.