I have live server on Digital Ocean with Cento OS 6.4 hosted. I am trying to install supervisor for the Laravel-5 processes. But, when I try to add the process it gives me error as undefined process. I have this in my laravel.conf
file stored at /etc/supervisord.d/
[program:laravel]
command=/usr/local/bin/run_queue.sh
autostart=true
autorestart=true
stderr_logfile=/var/www/html/laravel/queue.err.log
stdout_logfile=/var/www/html/laravel/queue.out.log
This file is executable. I tried all possible things on all mediums. Is any one facing same problem?? Any help will be appreciated.
edit: on running this i got :
sudo service supervisord restart
Shutting down supervisord: [OK ]
Starting supervisord: /usr/lib/python2.6/site-packages supervisor /options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
'Supervisord is running as root and it is searching '
[FAILED]