Could you explain on fingers what a supervisord is and what it is eaten with. Preferably in the examples. There are articles on the Internet, but they are aimed at people with experience, and I am not so ...
1 answer
supervisord is a process management system. Why do you need it? How often do you have a problem, what would be the process that started at the start of the system, worked all the time and if it crashes and restarts? And also provided a web-interface that would manage it all. This can all be solved with pens. And you can trust supervisord.
It starts at system startup as a classic daemon and, reading its config, starts the necessary processes and monitors them.
- Can collect logs from applications.
- Allows you to beautifully manage running applications.
- Maybe send mail if something happened .
- And plugins can follow Django for example.
That is, instead of writing all this with pens, you can take a ready-made solution. Plus, the admin will be easier to solve the problem. And if you need something very specific (for example, to manage a server through telegrams), you can write it with a plug-in.
Documentation http://supervisord.org/
- It is worth mentioning that the responsibility of supervisord overlaps with systemd and similar system components (for some tasks, one can be used instead of another) .. - jfs