simplevisor (1) Linux Manual Page
simplevisor 1.2 – simple daemons supervisor
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]Description
Simplevisor is a simple daemons supervisor, it is inspired by Erlang OTP and it can supervise hierarchies of services.COMMANDS
If a path is given or only one service entry is given:
for a given X command
If a path is given and the root entry is a supervisor:
restart_child
If a path is not given and the root entry is a supervisor:
start
stop
status
check
single
wake_up
stop_supervisor
stop_children
check_configuration
pod
rst
help
Options
positional arguments:
- command check, check_configuration, help, pod, restart, restart_child, rst, single, start, status, stop, stop_children, stop_supervisor, wake_up
path 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 with start
–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 for file
–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 the simplevisor nodes 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 startto run it in daemon mode:
simplevisor –conf /path/to/simplevisor.conf –daemon startFor other commands:
simplevisor –helpGiven the example configuration, to start the httpd service:
simplevisor –conf /path/to/simplevisor.conf start svisor1/httpd
Author
Massimo Paladin <massimo.paladin [at] gmail.com>Copyright (C) CERN 2013-2016
