I am a newbie to centos commands and scripting.
Scenario:
I have installed ERPNEXT and is working okay on the server but I have to do it manually by doing ./lib/wnfy.py --serve
What I want to do is to start it automatically using supervisord. I have gunicorn and nginx installed. Upon trying to start supervisord here's the error:
[root@vps3 etc]# chkconfig supervisord on [root@vps3 etc]# service supervisord start /etc/init.d/supervisord: line 11: ./etc/rc.d/init.d/functionsprog=supervisord: No such file or directory Starting : daemon --pidfile [ -f ]/etc/init.d/supervisord: line 14: success: command not found /etc/init.d/supervisord: line 14: failure: command not found
I am not yet familiar with how things work. Please advise. Thanks in advance.