mirror of
https://github.com/andrey271192/PCA_Phobos.git
synced 2026-09-20 11:55:32 +00:00
Pre-flight checks before installation: - Detect existing WireGuard, Phobos clients, tokens, server.env - Check port conflicts (obfuscator ports, 51820, 8444) - Check running conflicting services - Pause with warning count if issues found Safety during install: - Auto-backup existing configs to /opt/Phobos/backup/TIMESTAMP/ - Preserve existing wg0.conf if found (reuse keys) - Skip obfuscator binary download if already installed Clean uninstall script: - /opt/Phobos/server/phobos-secondary-uninstall.sh - Stops all services, removes configs and systemd units - Preserves backup directory - Removes iptables rules Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>