Update mm-scripts.sh

This commit is contained in:
2022-06-05 18:08:50 -05:00
parent a646625d02
commit 710c23376d

View File

@@ -168,11 +168,14 @@ MMSTART(){
fi fi
echo echo
if [ $VERBOSE = true ]; then if [ $VERBOSE = true ]; then
chktmend=`date +%s` chktmend=`date +%s`
chktm=$((chktmend-chktmstart)) chktm=$((chktmend-chktmstart))
echo "$(date) - ${mmsv} Runtime: ${chktm}s" >> $logfile echo "$(date) - ${mmsv} Runtime: ${chktm}s" >> $logfile
fi fi
exit 0
} }
MMSTOP(){ MMSTOP(){
@@ -230,6 +233,8 @@ MMSTOP(){
echo echo
echo -e "${idsCL[Red]}All services have been stopped${idsCL[Default]}" echo -e "${idsCL[Red]}All services have been stopped${idsCL[Default]}"
echo echo
exit 0
} }
MMSTATUS(){ MMSTATUS(){