mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
gotty refresh on ws restart
This commit is contained in:
parent
df576a3b86
commit
32cb12ca03
@ -112,7 +112,7 @@ if (substr($os, 0, 3) !== 'win') {
|
||||
}
|
||||
|
||||
// Kill previous gotty running.
|
||||
shell_exec('killall "'.$config['gotty'].'" >/dev/null 2>&1');
|
||||
shell_exec('ps aux | grep "'.$config['gotty'].'" | grep -v grep | awk \'{print $2}\' | xargs kill -9 ');
|
||||
|
||||
// Common.
|
||||
$base_cmd = 'nohup "'.$config['gotty'].'" '.$gotty_creds;
|
||||
|
Loading…
x
Reference in New Issue
Block a user