feat: server/uninstall.sh and README one-command removal

Made-with: Cursor
This commit is contained in:
Андрей Бобырев
2026-04-25 18:30:11 +03:00
parent 0a90513a26
commit 4e97268541
2 changed files with 22 additions and 2 deletions

9
server/uninstall.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -e
echo "Удаление HydraRoute Manager (domen_hydra)…"
systemctl stop hydra-manager 2>/dev/null || true
systemctl disable hydra-manager 2>/dev/null || true
rm -f /etc/systemd/system/hydra-manager.service
systemctl daemon-reload 2>/dev/null || true
rm -rf /opt/domen-hydra
echo "Готово."