simplevisor (1) Linux Manual Page
NAME
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:
-
commandcheck, check_configuration, help, pod, restart, restart_child, rst, single, start, status, stop, stop_children, stop_supervisor, wake_uppathpath to a service, subset of commands available: start, stop, status, check, restart
optional arguments:
-
–confCONFconfiguration file–conftypeCONFTYPEconfiguration file type (default: apache)–daemondaemonize, ONLY with start–intervalINTERVALinterval to wait between supervision cycles (default: 60)-h, –helpprint the help page–logLOGavailable: null, file, syslog, stdout (default: stdout)–logfileLOGFILElog file, ONLY for file–loglevelLOGLEVELlog level (default: warning)–lognameLOGNAMElog name (default: simplevisor)-p, –pidfilePIDFILEthe pidfile–storeSTOREfile where to store the state, it is not mandatory, however recommended to store the simplevisor nodes status between restarts–versionprint 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 [at] gmail.com>
Copyright (C) CERN 2013-2016
