fix: stop services on postun scriptlet
Some checks failed
Continuous Delivery / build_n_upload (push) Has been cancelled

This commit is contained in:
2026-04-12 17:01:55 +02:00
parent 146da6bcea
commit fc6ce6f472

View File

@@ -111,6 +111,12 @@ done
# Display commands and exit on error
set -xe
# Stop services
systemctl stop gitea.service
for i in $(seq 1 4); do
systemctl stop actrunner@$i
done
# If uninstalling, then delete users and db
if [ $1 == 0 ]; then
# Remove gitea user if existing