SIMPLEVISOR(1)
π
SIMPLEVISOR(1) β the simplevisor man page, bestie edition β¨
okay so sit down, grab a matcha π, because i'm about to introduce you to simplevisor β that's version 1.2, a simple daemons supervisor, and honestly? she's iconic. this is the simplevisor manual page and we're gonna get through it together, no cap π«Ά
πΈ SYNOPSIS πΈ
simplevisor [--conf CONF][--conftype CONFTYPE][--daemon][--interval
INTERVAL][-h][--log LOG][--logfile LOGFILE][--loglevel
LOGLEVEL][--logname LOGNAME][-p PIDFILE][--store STORE][--version]
command [path]
literally just that. command first, then optionally a path. that's the whole vibe check π
β¨ DESCRIPTION β¨
Simplevisor is a simple daemons supervisor β she's inspired by Erlang OTP and she can supervise hierarchies of services. hierarchies!! like a whole family tree of daemons and she's the main character keeping everyone in line π
π COMMANDS π
if a path is given, or only one service entry is given:
- for a given X command β run the service
Xcommand, where the service is the only entry provided or the entry identified by its path. iykyk π
if a path is given AND the root entry is a supervisor:
restart_childβ tell a runningsimplevisorprocess to restart the child identified by the given path. and bestie, this is different from therestartcommand described above, because this way we're sure the runningsimplevisorwon't try to check/start/stop the child while we're restarting it. no chaotic overlap, we love a clean handoff π§
if a path is not given AND the root entry is a supervisor:
startβ start thesimplevisorprocess, which starts the supervision. you can pair it with--daemonif you want it as a daemon πstopβ stop thesimplevisorprocess and all its children, if runningstatusβ return the status of thesimplevisorprocesscheckβ return the comparison between the expected state and the actual state.0-> everything is fine β¨1-> warning, not expected π
singleβ execute one cycle of supervision and exit. useful to be run in a cron script βwake_upβ tell a runningsimplevisorprocess to wake up and supervise (rise and grind bestie βοΈ)stop_supervisorβ only stop thesimplevisorprocess but not the childrenstop_childrenβ only stop the children but not thesimplevisorprocesscheck_configurationβ only check the configuration filepodβ generate pod format help, to be used bypod2manto generate the man page πrstβ generate rst format help, to be used in the web dochelpβ same as-h/--help, prints the help page π«Ά
π OPTIONS π
positional arguments:
commandβcheck,check_configuration,help,pod,restart,restart_child,rst,single,start,status,stop,stop_children,stop_supervisor,wake_uppathβ path to a service. subset of commands available:start,stop,status,check,restart
optional arguments:
--conf CONFβ configuration file--conftype CONFTYPEβ configuration file type (default:apache)--daemonβ daemonize. ONLY withstartβ οΈ--interval INTERVALβ interval to wait between supervision cycles (default:60)-h,--helpβ print the help page--log LOGβ available:null,file,syslog,stdout(default:stdout)--logfile LOGFILEβ log file. ONLY forfile--loglevel LOGLEVELβ log level (default:warning)--logname LOGNAMEβ log name (default:simplevisor)-p,--pidfile PIDFILEβ the pidfile--store STOREβ file where to store the state. it is not mandatory, however recommended to store thesimplevisornodes status between restarts π--versionβ print the program version
π¦ EXAMPLES π¦
Create and edit the main configuration file:
## look for simplevisor.conf.example in the examples.
Run it:
simplevisor --conf /path/to/simplevisor.conf start
to run it in daemon mode:
simplevisor --conf /path/to/simplevisor.conf --daemon start
for other commands:
simplevisor --help
given the example configuration, to start the httpd service:
simplevisor --conf /path/to/simplevisor.conf start svisor1/httpd
π AUTHOR π
Massimo Paladin <massimo.paladin@gmail.com>
Copyright (C) CERN 2013-2016
okay that's the whole page, you ate that π and for the cute sign-off: this page is dated 2016-06-27 and comes from the simplevisor man page source, so likeβ¦ vintage but still slaying πβ¨ bye bestie, go supervise something π¦
π¦ where this page comes from
- epel 9: python3-simplevisor 1.2-20.el9 Β· ASL 2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms