NITROCTL(1)

NAME
nitroctl - control and manage services monitored by nitro

SYNOPSIS
nitroctl [-t timeout] [-v] command services ...

DESCRIPTION
nitroctl supports the following commands:

list
    List all services and information about them (default).
scan, rescan
    Rescan the service list from the file system.
up, u
    Request services to be up.
down, d
    Request services to be down.
start
    Request services to be up and wait for it to enter UP.
stop
    Request services to be down and wait for it to enter DOWN.
restart
    Request services to be restarted and wait for it to be UP again.
fast-start
    Request services to be started and wait for it to be in state STARTING.
fast-stop
    Request services to be down and wait for it to be in state SHUTDOWN.
fast-restart, r
    Request services to be restarted and wait for it to be in state RESTART.
pause, cont, hup, alarm, interrupt, quit, term, kill, 1, 2
    Send the signal to services. The first character can be used as a shortcut.
pidof
    Print PIDs of the services.
check
    Exit with status 0 if the services are running (known PID)
Reboot
    Request system reboot.
Shutdown
    Request system shutdown.

The options are as follows:

-t timeout
    Exit after timeout seconds (as a decimal number) if the target state has not been reached. By default, the timeout is infinite.

-v  Verbose mode, print each state transition as it happens.

ENVIRONMENT

NITRO_SOCK
    The control socket (by default: /var/run/nitro/nitro.sock) where nitro(8) listens for commands.

EXIT STATUS

SEE ALSO
nitro(8)

AUTHORS
Leah Neukirchen <leah@vuxu.org>