February 2020
Intermediate to advanced
404 pages
8h 42m
English
We can easily install Supervisord using Python's pip command.
> sudo pip install supervisor
On Ubuntu 18.04, you can also use the apt-get command:
> sudo apt-get install -y supervisor
This installs two tools, supervisor and supervisorctl. Supervisorctl is intended to control the supervisor to add tasks, restart tasks, and more.
Let's use the bookServer.go program we created for illustrating process monitoring. Install the binary to the $GOPATH/bin directory using this command:
> go install $GOPATH/src/github.com/git-user/chapter12/bookServer/main.go
Read now
Unlock full access