How to Install Supervisor and Manage Webman Daemons on Linux
This guide walks through installing Supervisor on Linux, explains its role as a Python‑based process manager, shows how to create a Webman daemon using 1Panel, and provides detailed configuration and management steps for supervising the daemon.
Install Supervisor on Debian/Ubuntu using sudo apt-get install supervisor. After installation Supervisor starts automatically. For other operating systems see the documentation link.
Supervisor is a Python‑based generic process manager that can turn a normal command‑line program into a background daemon and automatically restart it on failure. It launches managed programs as child processes via fork/exec, and you specify the executable path in its configuration file. It also supports running each program under a non‑root user.
Create a Webman daemon with 1Panel
In the 1Panel dashboard go to Toolbox → Process Guard and click “Create Daemon”. Fill in the required fields and confirm.
Example values: /home/www/website/admin.webman.tinywan.com Start command:
php start.php startProcess management
The list view in 1Panel lets you start, stop, restart, view logs, edit, delete, or modify the source of each daemon.
Sample Supervisor program configuration for the Webman daemon:
[program:admin-webman]
command = php start.php start
directory = /home/www/website/admin.webman.tinywan.com
autorestart = true
startsecs = 3
stdout_logfile = /opt/1panel/tools/supervisord/log/admin-webman.out.log
stderr_logfile = /opt/1panel/tools/supervisord/log/admin-webman.err.log
stdout_logfile_maxbytes = 2MB
stderr_logfile_maxbytes = 2MB
user = www
priority = 999
numprocs = 1
process_name = %(program_name)s_%(process_num)02dLogs are written to the files specified above; screenshots illustrate the log view.
Supervisor service control
From the Supervisor status bar you can restart or stop the Supervisor service, view logs, and edit the configuration file.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Open Source Tech Hub
Sharing cutting-edge internet technologies and practical AI resources.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
