Supervisor Installation on MacOS

Author
By Darío Rivera
Posted On in Supervisor

In a previous article, we saw an introduction to what Supervisor, the process manager for UNIX systems is, where we basically explained what it was and how to configure a process in it. Today we will see how to install supervisor on the MacOS operating system.

Installation

To install supervisor on MacOS with Homebrew you can use the following command:

brew install supervisor

Configuration

After installing supervisor, you can configure this program to start every time the system boots with the following command:

brew services start supervisor

The main configuration file for supervisor will usually be located in /usr/local/etc/supervisord.ini. In this file you will find a line like the following:

[include]
files = /usr/local/etc/supervisor.d/*.ini

Which indicates that to create a new process, we must create a file in the directory /usr/local/etc/supervisor.d with the extension .ini.

Once supervisor is installed, you must start the daemon that will manage all processes.

supervisord -c supervisord.conf

To configure your first process in supervisor, I invite you to follow the following tutorial.

Configuring a process in supervisor


Acerca de Darío Rivera

Author

Application Architect at Elentra Corp . Quality developer and passionate learner with 10+ years of experience in web technologies. Creator of EasyHttp , an standard way to consume HTTP Clients.

LinkedIn Twitter Instagram

Sólo aquellos que han alcanzado el éxito saben que siempre estuvo a un paso del momento en que pensaron renunciar.