queue:workprocess if it fails.
/etc/supervisor/conf.ddirectory. Within this directory, you may create any number of configuration files that instruct supervisor how your processes should be monitored. For example, let's create a
crypterion-worker.conffile that starts and monitors a
numprocsdirective will instruct Supervisor to run 8
queue:workprocesses and monitor all of them, automatically restarting them if they fail.
command=php /var/www/crypterion/artisan queue:work --tries=1is as follows:
phpif you want to use a different php version from the one available in the global scope, you may use the full path to the php location instead. e.g
/var/www/crypterion/artisanis the full path to the extracted content of the script. For example in cPanel it may be found in
/home/<username>/crypterion/artisanaccording to the installation procedure where <username> is your cPanel username.
user=oluwatosinto your username. i.e