You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
2 years ago
|
[supervisord]
|
||
|
nodaemon=true
|
||
|
user = root
|
||
|
[supervisorctl]
|
||
|
[inet_http_server]
|
||
|
port = 127.0.0.1:9001
|
||
|
[rpcinterface:supervisor]
|
||
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||
|
|
||
|
[program:scheduler]
|
||
|
process_name=%(program_name)s_%(process_num)02d
|
||
|
command=/bin/sh -c "while [ true ]; do (php /var/www/html/artisan schedule:run --verbose --no-interaction &); sleep 60; done"
|
||
|
autostart=true
|
||
|
autorestart=true
|
||
|
numprocs=1
|
||
|
user=www-data
|
||
|
redirect_stderr=true
|
||
|
stdout_logfile=/var/log/supervisor/scheduler.log
|
||
|
|
||
|
[program:change-store-order-status]
|
||
|
command=php /var/www/html/artisan queue:work redis --queue=change_to_successful_store_order --tries=3
|
||
|
process_name=%(program_name)s_%(process_num)02d
|
||
|
autostart=true
|
||
|
autorestart=true
|
||
|
user=www-data
|
||
|
numprocs=3
|
||
|
redirect_stderr=true
|
||
|
stdout_logfile=/var/log/supervisor/sms-status.log
|
||
|
|
||
|
|
||
|
|
||
|
# [program:check-sms-status]
|
||
|
# command=php /var/www/html/artisan queue:work redis --queue=check-sms-status --tries=3
|
||
|
# process_name=%(program_name)s_%(process_num)02d
|
||
|
# autostart=true
|
||
|
# autorestart=true
|
||
|
# user=www-data
|
||
|
# numprocs=3
|
||
|
# redirect_stderr=true
|
||
|
# stdout_logfile=/var/log/supervisor/sms-status.log
|
||
|
|