diff --git a/run.sh b/run.sh index bc1e395..ee3afb1 100755 --- a/run.sh +++ b/run.sh @@ -70,7 +70,7 @@ else if [ "${1}" == "clear" ]; then rm -f ${MMFOLDER}/mm.* fi - if [ -f ${MMFOLDER}/mm.stop.checking ] && [ "${1}" != "status" ] && [ "${1}" != "stop" ]; then + if [ -f ${MMFOLDER}/mm.stop.checking ] && [ "${1}" != "status" ] && [ "${1}" != "update-service" ] && [ "${1}" != "update-allservices" ] && [ "${1}" != "stop" ]; then #fd=$(expr $(date +%s) - $(stat -L --format %Y ${MMFOLDER}/mm.stop.checking)) if [ $(expr $(date +%s) - $(stat -L --format %Y ${MMFOLDER}/mm.stop.checking)) -gt 900 ]; then rm -f ${MMFOLDER}/mm.stop*