1 Commits

Author SHA1 Message Date
fc6ce6f472 fix: stop services on postun scriptlet
Some checks failed
Continuous Delivery / build_n_upload (push) Has been cancelled
2026-04-12 17:01:55 +02:00

View File

@@ -111,6 +111,12 @@ done
# Display commands and exit on error # Display commands and exit on error
set -xe 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 uninstalling, then delete users and db
if [ $1 == 0 ]; then if [ $1 == 0 ]; then
# Remove gitea user if existing # Remove gitea user if existing