首次提交
Some checks failed
Build and Release / build-and-test (arm64, alpine) (push) Successful in 8s
Build and Release / build-and-test (amd64, alpine) (push) Successful in 14s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 14s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 23s
Build and Release / release (push) Failing after 26s

This commit is contained in:
Wang Defa
2025-12-03 13:58:47 +08:00
commit 8d3b14d3df
10 changed files with 588 additions and 0 deletions

15
debian/prerm vendored Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
set -e
# Stop service before removal
if [ -d /run/systemd/system ]; then
if systemctl is-active xxxigcc-proxy.service >/dev/null 2>&1; then
systemctl stop xxxigcc-proxy.service
fi
if systemctl is-enabled xxxigcc-proxy.service >/dev/null 2>&1; then
systemctl disable xxxigcc-proxy.service
fi
fi
exit 0