gerrit/Documentation/cmd-plugin-reload.txt
Michael Ochmann b99feabd88 Fix formatting of example blocks
With the new stylesheet example blocks (delimited with ====) are
rendered as rather intrusive boxes with large padding in yellow
and grey.

This patch replaces the example blocks with simple code blocks
(delimited with ----) that better match the overall style of the
documentation.

Change-Id: Id95387cdb153332c2066e2d5e378697647dbca52
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
2016-07-07 14:06:31 +02:00

48 lines
1013 B
Plaintext

= plugin reload
== NAME
plugin reload - Reload/Restart plugins.
== SYNOPSIS
[verse]
--
_ssh_ -p <port> <host> _gerrit plugin reload_
<NAME> ...
--
== DESCRIPTION
Reload/Restart plugins.
Whether a plugin is reloaded or restarted is defined by the plugin's
link:dev-plugins.html#reload_method[reload method].
E.g. a plugin needs to be reloaded if its configuration is modified to
make the new configuration data become active.
== ACCESS
* Caller must be a member of the privileged 'Administrators' group.
* link:config-gerrit.html#plugins.allowRemoteAdmin[plugins.allowRemoteAdmin]
must be enabled in `$site_path/etc/gerrit.config`.
== SCRIPTING
This command is intended to be used in scripts.
== OPTIONS
<NAME>::
Name of the plugin that should be reloaded. Multiple names of
plugins that should be reloaded may be specified.
== EXAMPLES
Reload a plugin:
----
ssh -p 29418 localhost gerrit plugin reload my-plugin
----
GERRIT
------
Part of link:index.html[Gerrit Code Review]
SEARCHBOX
---------