Merge pull request #1338 from vitoo/patch-1

Update supervisord.conf to enable supervisorctl
This commit is contained in:
Mahmoud Zalt 2018-01-09 19:19:06 +01:00 committed by GitHub
commit 9de6d9b9e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
[supervisord] [supervisord]
nodaemon=true nodaemon=true
[supervisorctl]
[inet_http_server]
port = 127.0.0.1:9001
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[program:laravel-worker] [program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d process_name=%(program_name)s_%(process_num)02d
command=php /var/www/artisan queue:work --sleep=3 --tries=3 --daemon command=php /var/www/artisan queue:work --sleep=3 --tries=3 --daemon