mirror of
https://github.com/meienberger/runtipi.git
synced 2024-11-22 12:08:08 +03:00
fix(supervisord): wait for rabbitmq to start before launching server
This commit is contained in:
parent
b420277922
commit
835ac1edb3
@ -11,7 +11,7 @@ stdout_logfile_maxbytes=0
|
|||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
|
|
||||||
[program:runtipi]
|
[program:runtipi]
|
||||||
command=npm run start
|
command=/bin/ash -c 'while ! nc -z localhost 5672; do sleep 1; done; npm run start'
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
|
Loading…
Reference in New Issue
Block a user