From 54fba43e117ad36cd293a642e5f0173dcbd6889a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 3 Mar 2022 19:07:59 -0600 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 "}"