mirror of https://github.com/tp4a/teleport
Fix: when restart server, the status of connected session not fix.
parent
ea9c3135d1
commit
f565a7c92f
|
@ -17,6 +17,7 @@ if [ $SRV == all ] || [ $SRV == web ] ; then
|
|||
echo "already running, skip."
|
||||
else
|
||||
$DAEMON_PATH/bin/tp_web start
|
||||
sleep 5s
|
||||
|
||||
result=$( ps ax | grep "$DAEMON_PATH/bin/tp_web start" | grep -v grep | wc -l )
|
||||
if [ ! $result -gt 0 ]; then
|
||||
|
|
Loading…
Reference in New Issue