mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
chore: Specify shutdown order in supervisord.conf (#580)
This commit is contained in:
parent
a167accd7e
commit
0d738a27b6
1 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ logfile_maxbytes=0
|
||||||
|
|
||||||
[program:zoekt]
|
[program:zoekt]
|
||||||
command=./prefix-output.sh zoekt-webserver -index %(ENV_DATA_CACHE_DIR)s/index -rpc
|
command=./prefix-output.sh zoekt-webserver -index %(ENV_DATA_CACHE_DIR)s/index -rpc
|
||||||
|
priority=10
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
startretries=3
|
startretries=3
|
||||||
|
|
@ -14,6 +15,7 @@ redirect_stderr=true
|
||||||
|
|
||||||
[program:web]
|
[program:web]
|
||||||
command=./prefix-output.sh node packages/web/server.js
|
command=./prefix-output.sh node packages/web/server.js
|
||||||
|
priority=20
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
startretries=3
|
startretries=3
|
||||||
|
|
@ -23,6 +25,7 @@ redirect_stderr=true
|
||||||
|
|
||||||
[program:backend]
|
[program:backend]
|
||||||
command=./prefix-output.sh node packages/backend/dist/index.js
|
command=./prefix-output.sh node packages/backend/dist/index.js
|
||||||
|
priority=20
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
startretries=3
|
startretries=3
|
||||||
|
|
@ -32,6 +35,7 @@ redirect_stderr=true
|
||||||
|
|
||||||
[program:redis]
|
[program:redis]
|
||||||
command=redis-server --dir %(ENV_REDIS_DATA_DIR)s
|
command=redis-server --dir %(ENV_REDIS_DATA_DIR)s
|
||||||
|
priority=10
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
startretries=3
|
startretries=3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue