Pony.fm/vagrant/pony.fm.supervisor.config
Peter Deltchev a8e81729fb Run asynchronous workers in the dev environment.
This better matches how Pony.fm is deployed in production and avoids issues
with the database being reconnected in the middle of a database transaction.
2016-07-09 17:59:03 -07:00

9 lines
316 B
Text

[program: ponyfm-worker]
process_name = %(program_name)s_%(process_num)02d
command = php /vagrant/artisan queue:listen --queue=default,notifications,indexing --sleep=3 --tries=3
autostart = true
autorestart = true
user = www-data
numprocs = 4
redirect_stderr = true
stdout_logfile = /vagrant/storage/logs/worker.log