Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fc6ce6f472 |
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user