Update mm-scripts.sh

This commit is contained in:
2022-03-30 19:05:59 -05:00
parent 5e67183df7
commit e184fbe1ff

View File

@@ -176,6 +176,7 @@ if [ ! -f /opt/mm.update.stop ]; then
start | check)
if [ -f /opt/mm.stop ] && [ "${action}" = "check" ]; then
echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}"
echo
exit 1
fi
touch /opt/mm.stop
@@ -187,6 +188,7 @@ if [ ! -f /opt/mm.update.stop ]; then
restart)
if [ -f /opt/mm.stop ]; then
echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}"
echo
exit 1
fi
MMSTOP