summaryrefslogtreecommitdiffstats
path: root/Documentation/cmd-plugin-reload.txt
blob: 5cfb6cc0e21082c2213aa427063b6876c4f74354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
= 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
---------