mirror of
https://github.com/andrey271192/Keenetic_SSH.git
synced 2026-09-20 14:41:58 +00:00
feat: uninstall.sh and README one-command server removal
Made-with: Cursor
This commit is contained in:
9
uninstall.sh
Executable file
9
uninstall.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
echo "Удаление Keenetic SSH…"
|
||||
systemctl stop keenetic-ssh 2>/dev/null || true
|
||||
systemctl disable keenetic-ssh 2>/dev/null || true
|
||||
rm -f /etc/systemd/system/keenetic-ssh.service
|
||||
systemctl daemon-reload 2>/dev/null || true
|
||||
rm -rf /opt/keenetic-ssh
|
||||
echo "Готово."
|
||||
Reference in New Issue
Block a user