Fix: Broaden pkill pattern to match 'screen.py' for stop command
This commit is contained in:
@@ -1760,7 +1760,7 @@ if ($type == "screen_control") {
|
||||
shell_exec($command);
|
||||
echo "Started";
|
||||
} elseif ($action == "stop") {
|
||||
$command = 'sudo pkill -f "screen_control/screen.py"';
|
||||
$command = 'sudo pkill -f "screen.py"';
|
||||
shell_exec($command);
|
||||
echo "Stopped";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user