glance/doc/source/cli/glancecontrol.rst
David Rabel 7e60fc6e05 Fix format in doc/source/cli/*
Current indentation is wrongly interpreted as quotation.
Also fixed some minor formatting issues.

Change-Id: Ie29e71f0394a432c255804b0d549aba56d1d5a1d
2018-03-10 08:17:43 +00:00

58 lines
1.1 KiB
ReStructuredText

==============
glance-control
==============
--------------------------------------
Glance daemon start/stop/reload helper
--------------------------------------
.. include:: header.txt
SYNOPSIS
========
::
glance-control [options] <SERVER> <COMMAND> [<CONFPATH>]
Where <SERVER> is one of:
``all``, ``api``, ``glance-api``, ``registry``, ``glance-registry``,
``scrubber``, ``glance-scrubber``
And <COMMAND> is one of:
``start``, ``status``, ``stop``, ``shutdown``, ``restart``, ``reload``,
``force-reload``
And <CONFPATH> is the optional configuration file to use.
OPTIONS
=======
**General Options**
.. include:: general_options.txt
``--pid-file=PATH``
File to use as pid file. Default:
/var/run/glance/$server.pid
``--await-child DELAY``
Period to wait for service death in order to report
exit code (default is to not wait at all)
``--capture-output``
Capture stdout/err in syslog instead of discarding
``--nocapture-output``
The inverse of --capture-output
``--norespawn``
The inverse of --respawn
``--respawn``
Restart service on unexpected death
.. include:: footer.txt