I want to manage few process using supervisor.I have made the changes in the supervisord.conf file.I want to stop a few programs later
I tried using "supervisorctl stop program_name" command but I get the following
Sorry, supervisord responded but did not recognize the supervisor namespace commands that supervisorctl uses to control it. Please check that the [rpcinterface:supervisor] section is enabled in the configuration file (see sample.conf).
Can somebody guide me? Thanks in advance
Add this to your /etc/supervisord.conf:
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
And restart supervisord:
sudo /etc/init.d/supervisord restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With