diff --git a/supervisor.sh b/supervisor.sh index 89b2ec7..74f896a 100755 --- a/supervisor.sh +++ b/supervisor.sh @@ -19,7 +19,7 @@ rm -f $TARFILE mv mainframe ~/bin pkill mainframe source ~/.envrc -~/bin/mainframe & > /var/log/mainframe.log +tmux new -d -Asmainframe "~/bin/mainframe" # To attach later, use tmux attach -tmainframe cd ~/pj/mainframe git pull