From: Sergey Matveev <stargrave@stargrave.org>
Date: Mon, 13 Mar 2023 15:27:16 +0000 (+0300)
Subject: Restart failing mmc
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=54820d128d05a80d40f8d99f6c5192f59907b79a;p=mmc.git

Restart failing mmc
---

diff --git a/cmd/start b/cmd/start
index ad4778c..2de7122 100755
--- a/cmd/start
+++ b/cmd/start
@@ -13,5 +13,5 @@ mkfifo debug users/status
     -e "s#DLPANE#$cmd/dlpane#" < "$cmd"/tmux.conf > tmux.conf
 $TMUX -f tmux.conf new-session -d -n ROOT -s mmc "cat debug | tai64n | tai64nlocal ; read foo"
 $TMUX split-window -h 'while : ; do cat users/status | spc -e grn,"^online:.*" -e cya,"^away:.*" ; sleep 60 ; clear ; done'
-$TMUX split-window -v "$cmd/mmc/mmc -debug debug -user-status users/status -newwin $cmd/newwin -notify $cmd/notify | tai64n | tai64nlocal ; printf \"\\a\" ; read foo"
+$TMUX split-window -v "while : ; do $cmd/mmc/mmc -debug debug -user-status users/status -newwin $cmd/newwin -notify $cmd/notify | tai64n | tai64nlocal ; printf \"\\a\" ; sleep 1 ; done"
 $TMUX attach-session