添加deb包构建,删除容器构建
All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in 8s
Build and Release / build-and-test (amd64, alpine) (push) Successful in 15s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 19s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 37s
Build and Release / release (push) Successful in 1m8s

This commit is contained in:
2025-12-03 16:10:42 +08:00
parent 8100b2f2e5
commit 9142021f26
10 changed files with 370 additions and 208 deletions

17
debian/prerm vendored Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
set -e
# Stop services before removal
if [ -d /run/systemd/system ]; then
for service in xxxigcc-server.service xxxigcc-daemon.service; do
if systemctl is-active "$service" >/dev/null 2>&1; then
systemctl stop "$service"
fi
if systemctl is-enabled "$service" >/dev/null 2>&1; then
systemctl disable "$service"
fi
done
fi
exit 0