blob: 5cfb6cc0e21082c2213aa427063b6876c4f74354 [file] [log] [blame]
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -08001= plugin reload
Edwin Kempinf7295742012-07-16 15:03:46 +02002
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -08003== NAME
Edwin Kempinf7295742012-07-16 15:03:46 +02004plugin reload - Reload/Restart plugins.
5
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -08006== SYNOPSIS
Michael Ochmanne2d76a12016-06-23 17:07:37 +02007[verse]
Yuxuan 'fishy' Wangd85b6872013-11-15 11:47:46 -08008--
Michael Ochmanne2d76a12016-06-23 17:07:37 +02009_ssh_ -p <port> <host> _gerrit plugin reload_
Edwin Kempinf7295742012-07-16 15:03:46 +020010 <NAME> ...
Yuxuan 'fishy' Wangd85b6872013-11-15 11:47:46 -080011--
Edwin Kempinf7295742012-07-16 15:03:46 +020012
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080013== DESCRIPTION
Edwin Kempinb778e212012-07-18 12:42:23 +020014Reload/Restart plugins.
15
16Whether a plugin is reloaded or restarted is defined by the plugin's
17link:dev-plugins.html#reload_method[reload method].
18
19E.g. a plugin needs to be reloaded if its configuration is modified to
20make the new configuration data become active.
Edwin Kempinf7295742012-07-16 15:03:46 +020021
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080022== ACCESS
David Myllykangas511823f2015-01-20 16:34:57 +010023* Caller must be a member of the privileged 'Administrators' group.
24* link:config-gerrit.html#plugins.allowRemoteAdmin[plugins.allowRemoteAdmin]
25must be enabled in `$site_path/etc/gerrit.config`.
Edwin Kempinf7295742012-07-16 15:03:46 +020026
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080027== SCRIPTING
Edwin Kempinf7295742012-07-16 15:03:46 +020028This command is intended to be used in scripts.
29
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080030== OPTIONS
Edwin Kempinf7295742012-07-16 15:03:46 +020031<NAME>::
32 Name of the plugin that should be reloaded. Multiple names of
33 plugins that should be reloaded may be specified.
34
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080035== EXAMPLES
Edwin Kempinf7295742012-07-16 15:03:46 +020036Reload a plugin:
37
Michael Ochmannb99feab2016-07-06 14:10:22 +020038----
David Shevitzc47f2362018-09-27 10:55:35 -070039ssh -p 29418 localhost gerrit plugin reload my-plugin
Michael Ochmannb99feab2016-07-06 14:10:22 +020040----
Edwin Kempinf7295742012-07-16 15:03:46 +020041
42GERRIT
43------
44Part of link:index.html[Gerrit Code Review]
Yuxuan 'fishy' Wang99cb68d2013-10-31 17:26:00 -070045
46SEARCHBOX
47---------