rabin 5 years ago
parent
commit
4509651fb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/shell/autossh/daemon

+ 1 - 1
src/shell/autossh/daemon

@@ -4,7 +4,7 @@ while true
 do
 do
 	pids=`ps aux|grep "/usr/bin/ssh -f -NR"|grep -v entrypoint|grep -v grep|grep -v process|awk '{print $1}'`
 	pids=`ps aux|grep "/usr/bin/ssh -f -NR"|grep -v entrypoint|grep -v grep|grep -v process|awk '{print $1}'`
 	if [ "$pids" ]; then
 	if [ "$pids" ]; then
-		sleep 86400
+		sleep 80000
 		kill -9 $pids
 		kill -9 $pids
 	else
 	else
 		epids=`ps aux|grep "/data/dm/src/shell/autossh/expect"|grep -v entrypoint|grep -v grep|grep -v process|awk '{print $1}'`
 		epids=`ps aux|grep "/data/dm/src/shell/autossh/expect"|grep -v entrypoint|grep -v grep|grep -v process|awk '{print $1}'`