Fix: Broaden pkill pattern to match 'screen.py' for stop command

This commit is contained in:
PaulVua
2026-02-17 12:46:39 +01:00
parent e659696044
commit cf502abfef

View File

@@ -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";
}