.PHONY: install uninstall update test health backup restore start stop status logs install: @echo "Installing VPN Gateway..." @sudo bash install.sh uninstall: @echo "Uninstalling VPN Gateway..." @sudo bash scripts/uninstall.sh update: @echo "Updating VPN Gateway..." @sudo bash scripts/update.sh test: @echo "Testing installation..." @bash -n install.sh @for script in scripts/*.sh; do bash -n $$script; done @python3 -m py_compile backend/app.py @echo "All tests passed!" health: @sudo bash scripts/health-check.sh backup: @echo "Creating backup..." @sudo tar czf vpn-gateway-backup-$$(date +%Y%m%d-%H%M%S).tar.gz \ /opt/vpn-gateway \ /etc/wireguard \ /etc/systemd/system/vpn-*.service start: @sudo systemctl start vpn-webui vpn-killswitch vpn-security-monitor stop: @sudo systemctl stop vpn-webui vpn-security-monitor status: @sudo systemctl status vpn-webui vpn-killswitch vpn-security-monitor logs: @sudo journalctl -u vpn-webui -u vpn-killswitch -u vpn-security-monitor -f