diff --git a/mm-scripts.sh b/mm-scripts.sh index 4be3781..8baeb47 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -173,6 +173,10 @@ case $action in stop) MMSTOP;; + + restart) + MMSTOP + MMSTART;; status) if [ -f /opt/mm.stop ]; then @@ -187,6 +191,7 @@ case $action in echo -e "Usage: ${idsCL[LightCyan]}mm${idsCL[Default]} {" echo -e " ${idsCL[Yellow]}start${idsCL[Default]} --> Start services" echo -e " ${idsCL[Yellow]}stop${idsCL[Default]} --> Stop services" + echo -e " ${idsCL[Yellow]}restart${idsCL[Default]} --> Restart services" echo -e " ${idsCL[Yellow]}check${idsCL[Default]} --> Check for VPN and start services if needed" echo -e " ${idsCL[Yellow]}status${idsCL[Default]} --> Check service status" echo -e "}"