fix: stop services on postun scriptlet

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

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