Get rid of the old server path PID checking

This may have been causing the server to fail to restart after an update.
This commit is contained in:
Ben Peddell 2017-02-14 10:20:30 +10:00 committed by GitHub
parent 7cc3249e2c
commit 335e75f106

View File

@ -651,10 +651,6 @@ function getServerPID(){
return
fi
fi
if [[ -z "$arkopt_clusterid" || -f "${arkserverroot}/${arkoldautorestartfile}" ]]; then
ps -ef | grep "$arkserverroot/$arkserverexec" | grep -v grep | awk '{print $2}'
fi
}
#