forked from 0xakk0r0kamui/constant-chain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmuxinator.yml
134 lines (122 loc) · 5.15 KB
/
.tmuxinator.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#
name: incognito
root: ./
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Project hooks
# Runs on project start, always
# on_project_start: command
# Run on project start, the first time
# on_project_first_start: command
# Run on project start, after the first time
# on_project_restart: command
# Run on project exit ( detaching from tmux session )
# on_project_exit: command
# Run on project stop
# on_project_stop: command
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t const
windows:
- b:
root: ./
# layout: ef8e,161x35,0,0{40x35,0,0[40x17,0,0,0,40x17,0,18,5],39x35,41,0[39x17,41,0,3,39x17,41,18,4],40x35,81,0[40x17,81,0,1,40x17,81,18,7],39x35,122,0[39x17,122,0,2,39x17,122,18,6]}
panes:
- ./run_new.sh "b0" 2>&1 | tee b0.log
- ./run_new.sh "b1" 2>&1 | tee b1.log
- ./run_new.sh "b2" 2>&1 | tee b2.log
- ./run_new.sh "b3" 2>&1 | tee b3.log
# - s0:
# root: ./
# layout: ef8e,161x35,0,0{40x35,0,0[40x17,0,0,0,40x17,0,18,5],39x35,41,0[39x17,41,0,3,39x17,41,18,4],40x35,81,0[40x17,81,0,1,40x17,81,18,7],39x35,122,0[39x17,122,0,2,39x17,122,18,6]}
# panes:
# - ./run_new.sh "s01" > "s01.log"
# - touch "s01.log" && tail -f "s01.log" | grep -a --line-buffered "\[db\]"
# - ./run_new.sh "s02" > "s02.log"
# - touch "s02.log" && tail -f "s02.log" | grep -a --line-buffered "\[db\]"
# - ./run_new.sh "s03" > "s03.log"
# - touch "s03.log" && tail -f "s03.log" | grep -a --line-buffered "\[db\]"
# - ./run_new.sh "s04" > "s04.log"
# - touch "s04.log" && tail -f "s04.log" | grep -a --line-buffered "\[db\]"
- s0:
root: ./
# layout: ef8e,161x35,0,0{40x35,0,0[40x17,0,0,0,40x17,0,18,5],39x35,41,0[39x17,41,0,3,39x17,41,18,4],40x35,81,0[40x17,81,0,1,40x17,81,18,7],39x35,122,0[39x17,122,0,2,39x17,122,18,6]}
panes:
- ./run_new.sh "s0n0" 2>&1 | tee s0n0.log
- ./run_new.sh "s0n1" 2>&1 | tee s0n1.log
- ./run_new.sh "s0n2" 2>&1 | tee s0n2.log
- ./run_new.sh "s0n3" 2>&1 | tee s0n3.log
- s1:
root: ./
# layout: ef8e,161x35,0,0{40x35,0,0[40x17,0,0,0,40x17,0,18,5],39x35,41,0[39x17,41,0,3,39x17,41,18,4],40x35,81,0[40x17,81,0,1,40x17,81,18,7],39x35,122,0[39x17,122,0,2,39x17,122,18,6]}
panes:
- ./run_new.sh "s1n0" 2>&1 | tee s1n0.log
- ./run_new.sh "s1n1" 2>&1 | tee s1n1.log
- ./run_new.sh "s1n2" 2>&1 | tee s1n2.log
- ./run_new.sh "s1n3" 2>&1 | tee s1n3.log
# - s2:
# root: ./
# panes:
# - ./run_new.sh "s2n0" 2>&1 | tee s2n0.log
# - ./run_new.sh "s2n1" 2>&1 | tee s2n1.log
# - ./run_new.sh "s2n2" 2>&1 | tee s2n2.log
# - ./run_new.sh "s2n3" 2>&1 | tee s2n3.log
# - s3:
# root: ./
# panes:
# - ./run_new.sh "s3n0" 2>&1 | tee s3n0.log
# - ./run_new.sh "s3n1" 2>&1 | tee s3n1.log
# - ./run_new.sh "s3n2" 2>&1 | tee s3n2.log
# - ./run_new.sh "s3n3" 2>&1 | tee s3n3.log
# - s4:
# root: ./
# panes:
# - ./run_new.sh "s4n0" 2>&1 | tee s4n0.log
# - ./run_new.sh "s4n1" 2>&1 | tee s4n1.log
# - ./run_new.sh "s4n2" 2>&1 | tee s4n2.log
# - ./run_new.sh "s4n3" 2>&1 | tee s4n3.log
# - s5:
# root: ./
# panes:
# - ./run_new.sh "s5n0" 2>&1 | tee s5n0.log
# - ./run_new.sh "s5n1" 2>&1 | tee s5n1.log
# - ./run_new.sh "s5n2" 2>&1 | tee s5n2.log
# - ./run_new.sh "s5n3" 2>&1 | tee s5n3.log
# - s6:
# root: ./
# panes:
# - ./run_new.sh "s6n0" 2>&1 | tee s6n0.log
# - ./run_new.sh "s6n1" 2>&1 | tee s6n1.log
# - ./run_new.sh "s6n2" 2>&1 | tee s6n2.log
# - ./run_new.sh "s6n3" 2>&1 | tee s6n3.log
# - s7:
# root: ./
# panes:
# - ./run_new.sh "s7n0" 2>&1 | tee s7n0.log
# - ./run_new.sh "s7n1" 2>&1 | tee s7n1.log
# - ./run_new.sh "s7n2" 2>&1 | tee s7n2.log
# - ./run_new.sh "s7n3" 2>&1 | tee s7n3.log
# - fullnode:
# root: ./
# layout: tiled
# panes:
# - ./run_new.sh "full_node" > "full_node.log"
# - touch "full_node.log" && tail -f "full_node.log" | grep -a --line-buffered "DeBridge log"
# - staker:
# root: ./
# layout: tiled
# panes:
# - sleep 2; ./run_new.sh "st1" 2>&1 | tee st1.log