Add auger restart function

This commit is contained in:
Skylar Grant 2024-11-24 19:30:14 -05:00
parent bccbe3dad6
commit 27ff026c85

View File

@ -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