mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-28 19:03:18 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user