Discussion:
[Supervisor-users] Run Supervisord as a singleton or one for each application
Alan Evangelista
2016-10-26 19:53:30 UTC
Permalink
I have 2 applications managed by supervisord and I am running 1 instance of supervisord for each one.

$ ps aux | grep supervisord
(...) grep --color=auto supervisord
(...) venv/bin/python venv/bin/supervisord -c config/supervisord/packages_signer.conf
(...) venv/bin/python venv/bin/supervisord -c config/supervisord/nginx.conf

I see supervisord as a replacement for upstart or systemd, which manages several daemons.
Thus, it seems to me that I could have a single process of supervisord with one conf file and two
[program]
sections in it. Is that correct? If so, is that the best approach?

Regards,
Alan
Andres Reyes Monge
2016-10-26 20:08:20 UTC
Permalink
That is correct, and yes that is the best approach

Regards
Post by Alan Evangelista
I have 2 applications managed by supervisord and I am running 1 instance of
supervisord for each one.
$ ps aux | grep supervisord
(...) grep --color=auto supervisord
(...) venv/bin/python venv/bin/supervisord -c
config/supervisord/packages_signer.conf
(...) venv/bin/python venv/bin/supervisord -c config/supervisord/nginx.conf
I see supervisord as a replacement for upstart or systemd, which manages several daemons.
Thus, it seems to me that I could have a single process of supervisord with
one conf file and two [program]
sections in it. Is that correct? If so, is that the best approach?
Regards,
Alan
_______________________________________________
Supervisor-users mailing list
https://lists.supervisord.org/mailman/listinfo/supervisor-users
--
Andrés Reyes Monge
***@gmail.com
https://coderwall.com/armonge
+(505)-8873-7217
Loading...