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 authored Mar 22, 2021
1 parent 9f9cbac commit dcb0012
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion linux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ md5sums=('607a7d6adbd9bc95ff2e87f4754f6326'
'19864fff9d542c427acb727636ac5390'
'cebfc4aa5f12a1da9b9ebf70f26f0d6f'
'c5484dd4e42606f8141abdc4e04d5d61'
'e0005d06c23e34a100b5f293ad485004')
'a568e92f6a6f219ded28d8bfd1d6e1f5')

prepare() {
for res in 16 32 48 96 128 ; do
Expand Down
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 dcb0012

Please sign in to comment.