• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install and configure daemon for supervisor on Linux Debian 11

  • 00:25 lsb_release -a
  • 00:42 apt install python-setuptools
  • 01:10 apt install supervisor
  • 01:35 supervisord -version
  • 01:46 echo_supervisord_conf > /etc/supervisor/supervisord.conf
  • 02:18 nano /usr/lib/systemd/system/supervisor.service
  • 03:00 systemctl daemon-reload
  • 03:14 systemctl enable supervisor
  • 03:28 systemctl start supervisor.service
  • 03:45 systemctl status supervisor.service
{{postValue.id}}

To Install And Configure Daemon For Supervisor On Linux Debian 11.3

Introduction:

Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. It shares some of the same goals of programs like launchd, daemon tools, and runit.

Installation Procedure:

Step 1: Check the current OS version by using the below command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

Step 2: Install the python dependency packages by using the below command

root@linuxhelp:~# apt install python-setuptools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib python-pkg-resources python2 python2-minimal
  python2.7 python2.7-minimal
Suggested packages:
  python-setuptools-doc python2-doc python-tk python2.7-doc binfmt-support
The following NEW packages will be installed:
  libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib python-pkg-resources python-setuptools python2
  python2-minimal python2.7 python2.7-minimal
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,275 kB of archives.

Step 3: Install the supervisor package by using the below command

root@linuxhelp:~# apt install supervisor
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  supervisor-doc
The following NEW packages will be installed:
  supervisor
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 281 kB of archives.
After this operation, 1,682 kB of additional disk space will be used.
Get:1 http://archive.Debian.com/Debian focal/universe amd64 supervisor all 4.1.0-1debian1 [281 kB]
Fetched 281 kB in 1s (247 kB/s)     
Selecting previously unselected package supervisor.
(Reading database ... 314162 files and directories currently installed.)
Preparing to unpack .../supervisor_4.1.0-1debian1_all.deb ...

Step 4: Check the version of supervisor by running the below command

root@linuxhelp:~# supervisord -version
4.1.0

Step 5: Configure the Supervisor by using the below command

root@linuxhelp:~# echo_supervisord_conf > /etc/supervisor/supervisord.conf 

Step 6: Configure the daemon service by using the below command

root@linuxhelp:~# nano /usr/lib/systemd/system/supervisor.service

Step 7: Reload the daemons service by running the below command

root@linuxhelp:~# systemctl daemon-reload

Step 8: Enable the supervisor by using the below command

root@linuxhelp:~# systemctl enable supervisor
Synchronizing state of supervisor.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable supervisor

Step 9: Start the Supervisor service by using the below command

root@linuxhelp:~# systemctl start supervisor.service

Step 10: Finally check the status of the service by using the below command

root@linuxhelp:~# systemctl status supervisor.service
● supervisor.service - Supervisor process control system for UNIX
     Loaded: loaded (/lib/systemd/system/supervisor.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2022-04-02 05:16:04 IST; 3min 17s ago
       Docs: http://supervisord.org
   Main PID: 54984 (supervisord)
      Tasks: 1 (limit: 4579)
     Memory: 17.9M
     CGroup: /system.slice/supervisor.service
             └─54984 /usr/bin/python3 /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install and configure daemon for supervisor on Linux Debian 11.3. Your feedback is much welcome.

Tags:
nathencooke
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is a Linux supervisor?

A

Supervisor: A Process Control System. A supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.

Q

What are the main responsibilities of a supervisor?

A

Supervisor Responsibilities Setting goals for performance and deadlines in ways that comply with the company's plans and vision. Organizing workflow and ensuring that employees understand their duties or delegated tasks. Monitoring employee productivity and providing constructive feedback and coaching.

Q

What is the daemon configuration location for centos6?

A

There is an init script you can create a bash script by "/etc/init.d"

Q

How Do I Choose a Reset Threshold and Tolerance?

A

Generally, the supervisory device's reset threshold should be set at or below the lowest power-supply output voltage. For example, a 3.3V power supply rated at ±5% has a minimum output voltage of 3.135V. The appropriate supervisory reset threshold should have a maximum voltage of 3.135V or less. A supervisory device with a 3.059V nominal reset threshold and a tolerance of 2.5% has a maximum threshold voltage of 3.135V, which is ideal. Sometimes, it is a good idea to choose a lower reset threshold to account for power-supply glitches or noise.

Q

To What Does Device Tolerance Refer in CPU Supervisors?

A

Device tolerance can be used to refer to two different device values. One value is the voltage at which the device recognizes that power is good. On Maxim devices, this value would generally be indicated simply as a percentage (for example, 5%). It would indicate that the device will trip just below the operating voltage minus 5%.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.