|
@ -14,16 +14,18 @@ optionally one or two parameters which describes the plugin on which the |
|
|
action has to be taken\. |
|
|
action has to be taken\. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The \fIstart\fR command takes a path as parameter and will load the plugin |
|
|
The \fIstart\fR command takes a path as the first parameter and will load the |
|
|
available from this path\. |
|
|
plugin available from this path\. It will wait for the plugin to complete |
|
|
|
|
|
the handshake with \fBlightningd\fR for 20 seconds at the most\. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The \fIstop\fR command takes a plugin name as parameter and will kill and |
|
|
The \fIstop\fR command takes a plugin name as parameter\. It will kill and |
|
|
unload the specified plugin\. |
|
|
unload the specified plugin\. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The \fIstartdir\fR command takes a directory path as parameter and will load |
|
|
The \fIstartdir\fR command takes a directory path as first parameter and will |
|
|
all plugins this directory contains\. |
|
|
load all plugins this directory contains\. It will wait for each plugin to |
|
|
|
|
|
complete the handshake with \fBlightningd\fR for 20 seconds at the most\. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The \fIrescan\fR command starts all not-already-loaded plugins from the |
|
|
The \fIrescan\fR command starts all not-already-loaded plugins from the |
|
@ -34,20 +36,21 @@ The \fIlist\fR command will return all the active plugins\. |
|
|
|
|
|
|
|
|
.SH RETURN VALUE |
|
|
.SH RETURN VALUE |
|
|
|
|
|
|
|
|
On success, this returns an array \fIplugins\fR of objects, one by plugin\. |
|
|
On success, all subcommands but \fIstop\fR return an array \fIplugins\fR of |
|
|
|
|
|
objects, one by plugin\. |
|
|
Each object contains the name of the plugin (\fIname\fR field) and its |
|
|
Each object contains the name of the plugin (\fIname\fR field) and its |
|
|
status (\fIactive\fR boolean field)\. Since plugins are configured |
|
|
status (\fIactive\fR boolean field)\. Since plugins are configured |
|
|
asynchronously, a freshly started plugin may not appear immediately\. |
|
|
asynchronously, a freshly started plugin may not appear immediately\. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
On error, the reason why the action could not be taken upon the |
|
|
|
|
|
plugin is returned\. |
|
|
|
|
|
|
|
|
.SH AUTHOR |
|
|
.SH AUTHOR |
|
|
|
|
|
|
|
|
Antoine Poinsot \fI<darosior@protonmail.com\fR> is mainly responsible\. |
|
|
Antoine Poinsot (\fIdarosior@protonmail.com\fR) is mainly responsible\. |
|
|
|
|
|
|
|
|
.SH RESOURCES |
|
|
.SH RESOURCES |
|
|
|
|
|
|
|
|
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR |
|
|
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR |
|
|
|
|
|
|
|
|
.HL |
|
|
|
|
|
|
|
|
|
|
|
Last updated 2019-07-29 12:57:57 CEST |
|
|
|
|
|
|
|
|
|
|
|