Make removal script more verbose.

This commit is contained in:
Josh Mudge 2018-07-26 15:20:54 -06:00
부모 f389c2cad2
커밋 90d27beaf6
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -3,10 +3,17 @@
echo "Removing Gitea and DELETING ALL DATA."
echo "Stopping and removing the Gitea service."
sudo systemctl stop gitea # Stop the Gitea service
sudo systemctl disable gitea # Disable the Gitea service automatically starting on boot.
sudo rm /etc/systemd/system/gitea.service # Delete the Gitea service.
echo "Deleting Gitea configuration and Data."
sudo rm /usr/local/bin/gitea # Remove Gitea from Path
sudo rm -rf /opt/gitea # Remove Gitea Data
echo "Done."
if test ! -d /opt/gitea
echo "Gitea has been completely removed."
else
echo "Gitea has not been completely removed. File an issue here: https://git.coolaj86.com/coolaj86/gitea-installer.sh/issues/new"