Skip to content

Instantly share code, notes, and snippets.

@sabrio
sabrio / readme.md
Created May 18, 2017 14:16
CENTOS - Install Supervisor, config and run

Supervisor

yum install supervisor

Config:

Create file on: /etc/supervisor.d/sportisio-worker.conf

[program:sportisio-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/devapi.sportisio.com/artisan queue:work --sleep=3 --tries=3
autostart=true