首次提交
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
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:
30
debian/postrm
vendored
Normal file
30
debian/postrm
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
# Remove log directory
|
||||
rm -rf /var/log/xxxigcc-proxy
|
||||
|
||||
# Remove config directory
|
||||
rm -rf /etc/xxxigcc-proxy
|
||||
|
||||
# Remove user and group
|
||||
if getent passwd xxxigcc-proxy >/dev/null; then
|
||||
deluser --system xxxigcc-proxy 2>/dev/null || true
|
||||
fi
|
||||
|
||||
if getent group xxxigcc-proxy >/dev/null; then
|
||||
delgroup --system xxxigcc-proxy 2>/dev/null || true
|
||||
fi
|
||||
;;
|
||||
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
# Reload systemd
|
||||
if [ -d /run/systemd/system ]; then
|
||||
systemctl daemon-reload
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user