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 "# 4. Igniter OFF #"
|
||||||
echo "# 5. Start Auger Loop #"
|
echo "# 5. Start Auger Loop #"
|
||||||
echo "# 6. Stop Auger Loop #"
|
echo "# 6. Stop Auger Loop #"
|
||||||
|
echo "# 7. Restart Auger Loop #"
|
||||||
echo "##########################################"
|
echo "##########################################"
|
||||||
echo "# 0. Exit #"
|
echo "# 0. Exit #"
|
||||||
echo "##########################################"
|
echo "##########################################"
|
||||||
@ -55,9 +56,12 @@ while true; do
|
|||||||
;;
|
;;
|
||||||
6)
|
6)
|
||||||
echo "Stopping Auger Loop"
|
echo "Stopping Auger Loop"
|
||||||
cd $ROOT_PATH
|
|
||||||
pm2 stop hestia-emr
|
pm2 stop hestia-emr
|
||||||
;;
|
;;
|
||||||
|
7)
|
||||||
|
echo "Restarting Auger Loop"
|
||||||
|
pm2 restart hestia-emr
|
||||||
|
;;
|
||||||
0)
|
0)
|
||||||
echo "Exiting"
|
echo "Exiting"
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user