Enable supervisor service
sudo systemctl enable supervisor
sudo systemctl start supervisor
Create file /etc/supervisor/conf.d/WORKER_NAME-worker.conf
with contents:
[program:WORKER_NAME-worker]
process_name=%(program_name)s_%(process_num)02d
directory=SITE_DIR
command=php SITE_DIR/artisan queue:work redis --sleep=3 --tries=3
autostart=true
autorestart=true
user=www-data
numprocs=1
redirect_stderr=true
stdout_logfile=SITE_DIR/storage/logs/worker.log