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'];
|
$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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user