agent_server.conf 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. [program:agent_server]
  2. process_name=%(program_name)s_%(process_num)02d
  3. command=/usr/local/bin/php -d memory_limit=100M /var/www/agent_server/artisan queue:work --daemon --sleep=1 --tries=1
  4. priority=900
  5. autostart=true
  6. autorestart=true
  7. user=www-data
  8. numprocs=2
  9. stdout_logfile=/var/www/agent_server/storage/logs/supervisor_agent_server_out.log
  10. stdout_logfile_maxbytes=1MB
  11. stdout_logfile_backups=10
  12. stdout_capture_maxbytes=1MB
  13. stderr_logfile=/var/www/agent_server/storage/logs/supervisor_agent_server_err.log
  14. stderr_logfile_maxbytes=1MB
  15. stderr_logfile_backups=10
  16. stderr_capture_maxbytes=1MB
  17. [program:agent_server_static_inc]
  18. process_name=%(program_name)s_%(process_num)02d
  19. command=/usr/local/bin/php -d memory_limit=100M /var/www/agent_server/artisan queue:work --queue=static_inc --daemon --sleep=1 --tries=1
  20. priority=902
  21. autostart=true
  22. autorestart=true
  23. user=www-data
  24. numprocs=1
  25. stdout_logfile=/var/www/agent_server/storage/logs/supervisor_agent_server_static_inc_out.log
  26. stdout_logfile_maxbytes=1MB
  27. stdout_logfile_backups=10
  28. stdout_capture_maxbytes=1MB
  29. stderr_logfile=/var/www/agent_server/storage/logs/supervisor_agent_server_static_inc_err.log
  30. stderr_logfile_maxbytes=1MB
  31. stderr_logfile_backups=10
  32. stderr_capture_maxbytes=1MB
  33. [program:agent_server_app_pack]
  34. process_name=%(program_name)s_%(process_num)02d
  35. command=/usr/local/bin/php -d memory_limit=100M /var/www/agent_server/artisan queue:work --queue=app_pack --daemon --sleep=1 --tries=1
  36. priority=903
  37. autostart=true
  38. autorestart=true
  39. user=www-data
  40. numprocs=1
  41. stdout_logfile=/var/www/agent_server/storage/logs/supervisor_agent_server_app_pack_out.log
  42. stdout_logfile_maxbytes=1MB
  43. stdout_logfile_backups=10
  44. stdout_capture_maxbytes=1MB
  45. stderr_logfile=/var/www/agent_server/storage/logs/supervisor_agent_server_app_pack_err.log
  46. stderr_logfile_maxbytes=1MB
  47. stderr_logfile_backups=10
  48. stderr_capture_maxbytes=1MB
  49. [program:agent_server_attrs_today]
  50. process_name=%(program_name)s_%(process_num)02d
  51. command=/usr/local/bin/php -d memory_limit=100M /var/www/agent_server/artisan queue:work --queue=attrs_today --daemon --sleep=1 --tries=1
  52. priority=903
  53. autostart=true
  54. autorestart=true
  55. user=www-data
  56. numprocs=1
  57. stdout_logfile=/var/www/agent_server/storage/logs/supervisor_agent_server_attrs_today_out.log
  58. stdout_logfile_maxbytes=1MB
  59. stdout_logfile_backups=10
  60. stdout_capture_maxbytes=1MB
  61. stderr_logfile=/var/www/agent_server/storage/logs/supervisor_agent_server_attrs_today_err.log
  62. stderr_logfile_maxbytes=1MB
  63. stderr_logfile_backups=10
  64. stderr_capture_maxbytes=1MB