If I install supervisor from apt-get
I get version 3.0b2-1 and if I run sudo service supervisor status
I get is running
(older beta version working fine)
A directory at /etc/supervisor
is created with supervisord.conf
file inside and empty dir conf.d
However, trying to install latest version (3.1.1) with pip or easy_install and running service supervisor status
I get supervisor: unrecognized service
(latest version not working)
No configuration files are created at /etc
so I did echo_supervisord_conf > /etc/supervisord.conf
as said at docs.
I can't run service start/stop/restart/status... And I don't know if supervisor will actually work. Any ideas here?
Note: I'm using an Ubuntu 14.04 x64 machine.
Start / Stop a Service To start a non-running service or stop a running one, use supervisorctl start my-daemon and supervisorctl stop my-daemon . To restart a service, you can also use supervisorctl restart my-daemon .
The supervisor service runs automatically after installation. You can check its status: sudo systemctl status supervisor.
So to actually stop them Supervisor has to be mean and kill every process that might have spawned. One possible reason is that they expect a different kill signal.
What I finally did is to actually work with the apt-get
installation. No issues found with it.
I would recommend going the route of adding an upstart service as shown here.
Once you've created the upstart conf file, you can then just do:
sudo start supervisord
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