Dateien nach "/" hochladen
This commit is contained in:
16
uninstall.sh
Normal file
16
uninstall.sh
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "🔧 Deinstalliere Fail2Ban Discord Alert..."
|
||||
|
||||
# Stoppe und entferne systemd-Service
|
||||
sudo systemctl stop fail2ban_discord_alert.service
|
||||
sudo systemctl disable fail2ban_discord_alert.service
|
||||
sudo rm -f /etc/systemd/system/fail2ban_discord_alert.service
|
||||
sudo systemctl daemon-reload
|
||||
|
||||
# Lösche Python venv, DB, .env
|
||||
rm -rf venv
|
||||
rm -f bans.db
|
||||
rm -f .env
|
||||
|
||||
echo "✅ Deinstallation abgeschlossen."
|
Reference in New Issue
Block a user