fix: correct ExecStopPost command syntax in portmaster.service

https://github.com/safing/portmaster/issues/1949
This commit is contained in:
Alexandr Stelnykovych
2025-10-03 12:04:45 +03:00
parent a66544959c
commit c085ae05ea

View File

@@ -37,7 +37,7 @@ StateDirectory=portmaster
# TODO(ppacher): add --disable-software-updates once it's merged and the release process changed.
WorkingDirectory=/var/lib/portmaster
ExecStart=/usr/lib/portmaster/portmaster-core --log-dir=/var/lib/portmaster/log -- $PORTMASTER_ARGS
ExecStopPost=-/usr/lib/portmaster/portmaster-core -recover-iptables
ExecStopPost=-/usr/lib/portmaster/portmaster-core --recover-iptables
[Install]
WantedBy=multi-user.target