fix(supervisord): wait for rabbitmq to start before launching server

This commit is contained in:
Nicolas Meienberger 2024-11-20 09:01:34 +01:00 committed by Nicolas Meienberger
parent b420277922
commit 835ac1edb3

View File

@ -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