| Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 1 | = plugin remove | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 2 |  | 
| Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 3 | == NAME | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 4 | plugin remove - Disable plugins. | 
 | 5 |  | 
 | 6 | plugin rm - Disable plugins. | 
 | 7 |  | 
| Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 8 | == SYNOPSIS | 
| Michael Ochmann | e2d76a1 | 2016-06-23 17:07:37 +0200 | [diff] [blame] | 9 | [verse] | 
| Yuxuan 'fishy' Wang | d85b687 | 2013-11-15 11:47:46 -0800 | [diff] [blame] | 10 | -- | 
| Michael Ochmann | e2d76a1 | 2016-06-23 17:07:37 +0200 | [diff] [blame] | 11 | _ssh_ -p <port> <host> _gerrit plugin remove_ | _rm_ | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 12 |  <NAME> ... | 
| Yuxuan 'fishy' Wang | d85b687 | 2013-11-15 11:47:46 -0800 | [diff] [blame] | 13 | -- | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 14 |  | 
| Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 15 | == DESCRIPTION | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 16 | Disable plugins. The plugins will be disabled by renaming the plugin | 
 | 17 | jars in the site path's `plugins` directory to `<plugin-jar-name>.disabled`. | 
 | 18 |  | 
| Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 19 | == ACCESS | 
| David Myllykangas | 511823f | 2015-01-20 16:34:57 +0100 | [diff] [blame] | 20 | * Caller must be a member of the privileged 'Administrators' group. | 
 | 21 | * link:config-gerrit.html#plugins.allowRemoteAdmin[plugins.allowRemoteAdmin] | 
 | 22 | must be enabled in `$site_path/etc/gerrit.config`. | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 23 |  | 
| Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 24 | == SCRIPTING | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 25 | This command is intended to be used in scripts. | 
 | 26 |  | 
| Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 27 | == OPTIONS | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 28 | <NAME>:: | 
 | 29 | Name of the plugin that should be disabled. Multiple names of | 
 | 30 | plugins that should be disabled may be specified. | 
 | 31 |  | 
| Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 32 | == EXAMPLES | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 33 | Disable a plugin: | 
 | 34 |  | 
| Michael Ochmann | b99feab | 2016-07-06 14:10:22 +0200 | [diff] [blame] | 35 | ---- | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 36 | ssh -p 29418 localhost gerrit plugin remove my-plugin | 
| Michael Ochmann | b99feab | 2016-07-06 14:10:22 +0200 | [diff] [blame] | 37 | ---- | 
| Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 38 |  | 
 | 39 | GERRIT | 
 | 40 | ------ | 
 | 41 | Part of link:index.html[Gerrit Code Review] | 
| Yuxuan 'fishy' Wang | 99cb68d | 2013-10-31 17:26:00 -0700 | [diff] [blame] | 42 |  | 
 | 43 | SEARCHBOX | 
 | 44 | --------- |