Advertisement
hfelix

supervisord-programs.conf

Feb 2nd, 2022
83
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None
  1. [program:default-queue]
  2. process_name=%(program_name)s_%(process_num)02d
  3. directory=%(ENV_DIRECTORY)s
  4. command=%(ENV_DEFAULT_QUEUE_CMD)s
  5. autostart=true
  6. autorestart=true
  7. numprocs=20
  8. redirect_stderr=true
  9. stdout_logfile=/var/log/supervisor/%(program_name)s.log
  10. stdout_logfile_maxbytes=0
  11. stopwaitsecs=3600
  12.  
  13. [program:portal-push-queue]
  14. process_name=%(program_name)s_%(process_num)02d
  15. directory=%(ENV_DIRECTORY)s
  16. command=%(ENV_PORTAL_PUSH_QUEUE_CMD)s
  17. autostart=true
  18. autorestart=true
  19. numprocs=5
  20. redirect_stderr=true
  21. stdout_logfile=/var/log/supervisor/%(program_name)s.log
  22. stdout_logfile_maxbytes=0
  23. stopwaitsecs=3600
  24.  
  25. [program:portal-telegram-queue]
  26. process_name=%(program_name)s_%(process_num)02d
  27. directory=%(ENV_DIRECTORY)s
  28. command=%(ENV_PORTAL_TELEGRAM_QUEUE_CMD)s
  29. autostart=true
  30. autorestart=true
  31. numprocs=5
  32. loglevel=debug
  33. redirect_stderr=true
  34. stdout_logfile=/var/log/supervisor/%(program_name)s.log
  35. stdout_logfile_maxbytes=0
  36. stopwaitsecs=3600
  37.  
  38. [program:portal-email-queue]
  39. process_name=%(program_name)s_%(process_num)02d
  40. directory=%(ENV_DIRECTORY)s
  41. command=%(ENV_PORTAL_EMAIL_QUEUE_CMD)s
  42. autostart=true
  43. autorestart=true
  44. numprocs=5
  45. redirect_stderr=true
  46. stdout_logfile=/var/log/supervisor/%(program_name)s.log
  47. stdout_logfile_maxbytes=0
  48. stopwaitsecs=3600
  49.  
  50. [program:portal-email-client-queue]
  51. process_name=%(program_name)s_%(process_num)02d
  52. directory=%(ENV_DIRECTORY)s
  53. command=%(ENV_PORTAL_EMAIL_CLIENT_QUEUE_CMD)s
  54. autostart=true
  55. autorestart=true
  56. numprocs=1
  57. redirect_stderr=true
  58. stdout_logfile=/var/log/supervisor/%(program_name)s.log
  59. stdout_logfile_maxbytes=0
  60. stopwaitsecs=3600
  61.  
  62. [program:app-motoristas-queue]
  63. process_name=%(program_name)s_%(process_num)02d
  64. directory=%(ENV_DIRECTORY)s
  65. command=%(ENV_APP_MOTORISTAS_QUEUE_CMD)s
  66. autostart=true
  67. autorestart=true
  68. numprocs=5
  69. redirect_stderr=true
  70. stdout_logfile=/var/log/supervisor/%(program_name)s.log
  71. stdout_logfile_maxbytes=0
  72. stopwaitsecs=3600
Advertisement
RAW Paste Data Copied
Advertisement