forked from Sophia/thelinuxlist
9 lines
212 B
Bash
9 lines
212 B
Bash
|
#!/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
|