From 27ff026c85510fe68bc938988044f7fbb9f54e5f Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sun, 24 Nov 2024 19:30:14 -0500 Subject: [PATCH] Add auger restart function --- src/_EMR/panel.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/_EMR/panel.sh b/src/_EMR/panel.sh index 8021432..2c4b934 100755 --- a/src/_EMR/panel.sh +++ b/src/_EMR/panel.sh @@ -17,6 +17,7 @@ while true; do echo "# 4. Igniter OFF #" echo "# 5. Start Auger Loop #" echo "# 6. Stop Auger Loop #" + echo "# 7. Restart Auger Loop #" echo "##########################################" echo "# 0. Exit #" echo "##########################################" @@ -55,9 +56,12 @@ while true; do ;; 6) echo "Stopping Auger Loop" - cd $ROOT_PATH pm2 stop hestia-emr ;; + 7) + echo "Restarting Auger Loop" + pm2 restart hestia-emr + ;; 0) echo "Exiting" exit