refactor: remove legacy proxy files, migrate all callers to console.php

- Delete src/status, src/tools, src/crons/epg.php (logic already in CLI commands)
- Update BalancerCommand: fix remote file_exists to SSH test -f, fix stripos check
- Update StartupCommand, UpdateCommand: use PHP_BIN + console.php
- Update dashboard.php: replace hardcoded sudo php with PHP_BIN
- Update install/test_installer: sentinel console.php, exec paths
- Update Makefile: remove status/tools from LB_ROOT_FILES and set_permissions
- Update docs: migration_guide, update-system (EN/RU)
- Update test-install: README.md, auto_install.sh
This commit is contained in:
Divarion-D
2026-03-18 20:32:51 +03:00
parent 3bbb0865ff
commit a113fb3ec9
16 changed files with 888 additions and 1033 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class UpdateCommand implements CommandInterface {
exec('sudo chown -R xc_vm:xc_vm ' . MAIN_HOME);
exec('sudo systemctl daemon-reload');
exec("sudo echo 'net.ipv4.ip_unprivileged_port_start=0' > /etc/sysctl.d/50-allports-nonroot.conf && sudo sysctl --system");
exec('sudo ' . MAIN_HOME . 'status');
exec('sudo ' . PHP_BIN . ' ' . MAIN_HOME . 'console.php status');
break;
}