Add auger restart function
This commit is contained in:
parent
bccbe3dad6
commit
27ff026c85
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user