I am working on beantalkd and supervisord for my Laravel project with vm manor. Every time I disdain the estate vm, the supervisor does not start. I need to manually enter below to run:
sudo service supervisor start
The version I'm running on is 3.0b2-1. I also installed rcconf to check which service starts automatically at boot time, and the supervisor is also checked.
Another thing I tried is to start crontab to try to start the service. The following is the crontab script I wrote:
@reboot root /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
* * * * * php /home/vagrant/projects/llpm/artisan scheduled:run 1>> /dev/null 2>&1 --env=local
However, it will not automatically start upon reboot. Anyone have a solution? Thanks in extended.
Kevin source
share