Skip to content

Commit 0d738a2

Browse files
chore: Specify shutdown order in supervisord.conf (#580)
1 parent a167acc commit 0d738a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

supervisord.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ logfile_maxbytes=0
55

66
[program:zoekt]
77
command=./prefix-output.sh zoekt-webserver -index %(ENV_DATA_CACHE_DIR)s/index -rpc
8+
priority=10
89
autostart=true
910
autorestart=true
1011
startretries=3
@@ -14,6 +15,7 @@ redirect_stderr=true
1415

1516
[program:web]
1617
command=./prefix-output.sh node packages/web/server.js
18+
priority=20
1719
autostart=true
1820
autorestart=true
1921
startretries=3
@@ -23,6 +25,7 @@ redirect_stderr=true
2325

2426
[program:backend]
2527
command=./prefix-output.sh node packages/backend/dist/index.js
28+
priority=20
2629
autostart=true
2730
autorestart=true
2831
startretries=3
@@ -32,6 +35,7 @@ redirect_stderr=true
3235

3336
[program:redis]
3437
command=redis-server --dir %(ENV_REDIS_DATA_DIR)s
38+
priority=10
3539
autostart=true
3640
autorestart=true
3741
startretries=3

0 commit comments

Comments
 (0)