feat: add declarative sing-box egress control plane
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
if [ "$1" = remove ]; then
|
||||
systemctl stop vpn-egress-sync.path >/dev/null 2>&1 || true
|
||||
systemctl disable vpn-egress-sync.path vpn-egress-guard.service >/dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user