Skip to content

Commit 1deb348

Browse files
committed
Fix window indexing in monitoring_session.sh
1 parent 31fc944 commit 1deb348

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bin/monitoring_session.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ fi
1616

1717
# Bootstrap the monitoring windows when the session does not already exist.
1818
tmux new-session -d -s "$SESSION_NAME" -n "btop" -c "$ROOT_DIR" "btop"
19-
tmux new-window -t "${SESSION_NAME}":2 -n "docs-log" -c "$HOME" "tail -F $HOME/docs_generation.log"
20-
tmux new-window -t "${SESSION_NAME}":3 -n "puma-hook" -c "$ROOT_DIR" "sudo journalctl -u rails-master-hook_puma_production -f"
21-
tmux new-window -t "${SESSION_NAME}":4 -n "hook-script" -c "$ROOT_DIR" "sudo journalctl -t rails-master-hook -f"
22-
tmux new-window -t "${SESSION_NAME}":5 -n "puma-error" -c "$HOME" "tail -F $HOME/rails-contributors/current/log/puma_error.log"
23-
tmux new-window -t "${SESSION_NAME}":6 -n "puma-access" -c "$HOME" "tail -F $HOME/rails-contributors/current/log/puma_access.log"
19+
tmux new-window -t "${SESSION_NAME}":1 -n "docs-log" -c "$HOME" "tail -F $HOME/docs_generation.log"
20+
tmux new-window -t "${SESSION_NAME}":2 -n "puma-hook" -c "$ROOT_DIR" "sudo journalctl -u rails-master-hook_puma_production -f"
21+
tmux new-window -t "${SESSION_NAME}":3 -n "hook-script" -c "$ROOT_DIR" "sudo journalctl -t rails-master-hook -f"
22+
tmux new-window -t "${SESSION_NAME}":4 -n "puma-error" -c "$HOME" "tail -F $HOME/rails-contributors/current/log/puma_error.log"
23+
tmux new-window -t "${SESSION_NAME}":5 -n "puma-access" -c "$HOME" "tail -F $HOME/rails-contributors/current/log/puma_access.log"
2424

2525
tmux select-window -t "${SESSION_NAME}":1
2626
exec tmux attach -t "$SESSION_NAME"

0 commit comments

Comments
 (0)