forked from Sophia/thelinuxlist
added unattended installs, and bumped golang ver
This commit is contained in:
9
scripts/unattended/gogsuninstall.sh
Normal file
9
scripts/unattended/gogsuninstall.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo systemctl stop gogs
|
||||
sudo systemctl disable gogs
|
||||
sudo rm -rf /etc/systemd/system/gogs.service
|
||||
sudo userdel git
|
||||
sudo rm -rf /home/git
|
||||
sudo rm -rf /var/log/gogs/*
|
||||
sudo ufw delete allow 3000
|
Reference in New Issue
Block a user