Problem with instascan relaunching...
This commit is contained in:
parent
b6bf164b57
commit
de1cedf157
|
@ -170,8 +170,8 @@ if [[ $(($runtime % 15)) == 0 ]]; then
|
||||||
########################################################################
|
########################################################################
|
||||||
# RE/LAUNCHING INSTASCAN API
|
# RE/LAUNCHING INSTASCAN API
|
||||||
instascan=$(ps auxf --sort=+utime | grep -w nc | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1)
|
instascan=$(ps auxf --sort=+utime | grep -w nc | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1)
|
||||||
[[ $instascan ]] && killall instascan_login.sh && killall nc && ~/.zen/Astroport.ONE/tools/instascan_login.sh >> /tmp/instascan.log &
|
[[ $instascan ]] && killall instascan_login.sh && killall nc && ~/.zen/Astroport.ONE/tools/instascan_login.sh &
|
||||||
[[ ! $instascan ]] && ~/.zen/Astroport.ONE/tools/instascan_login.sh >> /tmp/instascan.log &
|
[[ ! $instascan ]] && ~/.zen/Astroport.ONE/tools/instascan_login.sh &
|
||||||
|
|
||||||
# git reset --hard
|
# git reset --hard
|
||||||
cd $MY_PATH
|
cd $MY_PATH
|
||||||
|
|
Loading…
Reference in New Issue