Update run.sh

This commit is contained in:
2023-04-02 20:13:22 -05:00
parent 8f4e344686
commit 615c3d0d51

2
run.sh
View File

@@ -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*