What is Supervisord?

About

supervisord is a process manager that:

  • have a lot of configuration 1)
  • is based on python

Example

  • The supervisor.conf configuration file
[supervisord]
logfile=/dev/stdout 
logfile_maxbytes=0  
loglevel=info
pidfile=/tmp/supervisord.pid
nodaemon=true
user=root

[unix_http_server]
file=/tmp/supervisor.sock

[program:foo]
command=/app/foo

[program:bar]
command=/app/bar -i
RUN apt-get update && \
    apt-get install -y \
        supervisor \
        otherpackage

ADD supervisor.conf /app/
CMD supervisord -c /app/supervisor.conf





Discover More
What is a Process Manager? (aka supervisor)

process manager are applications that starts and manage processes. They are mostly used as VM entrypoint to start multiple processes. init systems are process manager. overmind...
Card Puncher Data Processing
What is the Entrypoint (Main) in Docker?

This page is the main entry in Docker. The entry point script is the script called when creating a container from an image with the docker run command When the entry point program exits, the VM is stopped...



Share this page:
Follow us:
Task Runner