|
@ -42,7 +42,7 @@ fi |
|
|
fn_scriptlog "Checking complete" |
|
|
fn_scriptlog "Checking complete" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
fn_check_root |
|
|
check_root.sh |
|
|
check_systemdir.sh |
|
|
check_systemdir.sh |
|
|
tmuxwc=$(tmux list-sessions 2>&1|awk '{print $1}'|grep -v failed|grep -Ec "^${servicename}:") |
|
|
tmuxwc=$(tmux list-sessions 2>&1|awk '{print $1}'|grep -v failed|grep -Ec "^${servicename}:") |
|
|
if [ "${tmuxwc}" -eq 1 ]; then |
|
|
if [ "${tmuxwc}" -eq 1 ]; then |
|
|