diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2020-10-13 13:11:36 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2020-10-13 13:11:36 +0300 |
commit | 974469ab636d40db737e26b1a8a9a36ca9583069 (patch) | |
tree | 9fb51c62d35c4ea50e0e2ab6d66046be8790e22b /lib/MatterbridgeManager.php | |
parent | 939d9fcb76b8eee7a814001395a1b5d1cb3c8b13 (diff) |
use 'ps' syntax which works in busybox
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'lib/MatterbridgeManager.php')
-rw-r--r-- | lib/MatterbridgeManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MatterbridgeManager.php b/lib/MatterbridgeManager.php index 80c52707f..7ebafacde 100644 --- a/lib/MatterbridgeManager.php +++ b/lib/MatterbridgeManager.php @@ -682,7 +682,7 @@ class MatterbridgeManager { */ public function killZombieBridges(bool $killAll = false): void { // get list of running matterbridge processes - $cmd = 'ps -ux | grep "commands/matterbridge" | grep -v grep | awk \'{print $2}\''; + $cmd = 'ps x -o user,pid,args | grep "commands/matterbridge" | grep -v grep | awk \'{print $2}\''; exec($cmd, $output, $ret); $runningPidList = []; foreach ($output as $o) { |