From df6e51318dcbc57aef855d4dbf06c3526c8106b5 Mon Sep 17 00:00:00 2001 From: glacials Date: Sun, 14 Mar 2021 20:56:22 -0700 Subject: [PATCH] use tmux --- supervisor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- knotmirror 0.0.1