Fix: Correct screen.py path in launcher.php for production environment
This commit is contained in:
@@ -1756,7 +1756,7 @@ if ($type == "screen_control") {
|
||||
$action = $_GET['action'];
|
||||
if ($action == "start") {
|
||||
// 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);
|
||||
echo "Started";
|
||||
} elseif ($action == "stop") {
|
||||
|
||||
Reference in New Issue
Block a user