Pony.fm/vagrant/pony.fm.supervisor.config
Peter Deltchev 6c4f7b962b 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-11 18:18:02 +01: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