plane/supervisor/service_script.conf
2022-12-15 02:55:03 +05:30

33 lines
634 B
Plaintext

[supervisord]
nodaemon=true
[program:frontend]
directory=/app
command= node apps/app/server.js
autostart=true
autorestart=true
stderr_logfile=/dev/stdout
stderr_logfile_maxbytes = 0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes = 0
[program:backend]
directory=/app
command= ./bin/takeoff
autostart=true
autorestart=true
stderr_logfile=/dev/stdout
stderr_logfile_maxbytes = 0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes = 0
[program:worker]
directory=/app
command= ./bin/worker
autostart=true
autorestart=true
stderr_logfile=/dev/stdout
stderr_logfile_maxbytes = 0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes = 0