diff --git a/netoik-git.spec b/netoik-git.spec index 417d355..b8ede86 100644 --- a/netoik-git.spec +++ b/netoik-git.spec @@ -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