Fix: Correct screen.py path in launcher.php for production environment

This commit is contained in:
PaulVua
2026-02-17 12:33:41 +01:00
parent aa1b90e3d5
commit 86c2d1eb41

View File

@@ -1756,7 +1756,7 @@ if ($type == "screen_control") {
$action = $_GET['action']; $action = $_GET['action'];
if ($action == "start") { if ($action == "start") {
// Run as background process // Run as background process
$command = 'export DISPLAY=:0 && nohup /usr/bin/python3 /home/aircarto/nebuleair_pro_4g/screen_control/screen.py > /dev/null 2>&1 &'; $command = 'export DISPLAY=:0 && nohup /usr/bin/python3 /var/www/nebuleair_pro_4g/screen_control/screen.py > /dev/null 2>&1 &';
shell_exec($command); shell_exec($command);
echo "Started"; echo "Started";
} elseif ($action == "stop") { } elseif ($action == "stop") {