mirror of
https://github.com/openoms/joininbox.git
synced 2026-08-13 12:33:14 +02:00
menu: fix yg logs with correct path, exit to scripts dir
This commit is contained in:
parent
68997f61b7
commit
0d73fb3da5
2 changed files with 6 additions and 5 deletions
|
|
@ -136,6 +136,7 @@ case $CHOICE in
|
|||
/home/joinmarket/menu.sh
|
||||
;;
|
||||
X)
|
||||
cd /home/joinmarket/joinmarket-clientserver/scripts/
|
||||
clear
|
||||
echo "***********************************"
|
||||
echo "* JoininBox Commandline"
|
||||
|
|
|
|||
|
|
@ -90,10 +90,11 @@ Will tail the latest YG logfile from:
|
|||
/home/joinmarket/.joinmarket/logs/
|
||||
|
||||
Press CTRL+C to exit and return to the menu." 10 50
|
||||
|
||||
ls -t /home/joinmarket/.joinmarket/logs | grep J5 | head -n 1 | xargs tail -fn1000
|
||||
cd /home/joinmarket/.joinmarket/logs
|
||||
ls -t | grep J5 | head -n 1 | xargs tail -fn1000
|
||||
echo "Press ENTER to return to menu"
|
||||
read key
|
||||
cd /home/joinmarket/joinmarket-clientserver/scripts/
|
||||
/home/joinmarket/menu.sh
|
||||
;;
|
||||
STOP)
|
||||
|
|
@ -108,8 +109,7 @@ Press CTRL+C to exit and return to the menu." 10 50
|
|||
# sudo systemctl list-units --type=service
|
||||
sudo systemctl reset-failed
|
||||
echo "Stopped the Yield Generator background service"
|
||||
echo "Returning to the menu..."
|
||||
sleep 1
|
||||
/home/joinmarket/menu.sh
|
||||
echo "Press ENTER to return to the menu..."
|
||||
read key
|
||||
;;
|
||||
esac
|
||||
Loading…
Add table
Add a link
Reference in a new issue