FAQ.cl: extend custom plugin notes

This commit is contained in:
openoms
2021-10-10 09:41:40 +01:00
parent 31d6ef9e34
commit 565e914a99

View File

@@ -237,19 +237,22 @@ or with the alias: `cllog`
* clboss * clboss
### Add a custom plugin ### Add a custom plugin
* The easiest way is to place the plugin in the * Place the plugin in the `/home/bitcoin/cl-plugins-enabled` directory
`/home/bitcoin/cl-plugins-enabled` * Make sure it is owned by the `bitcoin` user and is executable:
directory and start with ```
sudo chown bitcoin:bitcoin /home/bitcoin/cl-plugins-enabled/PLUGIN_NAME
sudo chmod +x /home/bitcoin/cl-plugins-enabled/PLUGIN_NAME
```
* start with
``` ```
lightnign-cli plugin start /home/bitcoin/cl-plugins-enabled/PLUGIN_NAME lightnign-cli plugin start /home/bitcoin/cl-plugins-enabled/PLUGIN_NAME
``` ```
or restart C-ligthning with: * or to load it automatically on restart:
``` ```
sudo systemctl restart lightningd sudo systemctl restart lightningd
``` ```
to have it loaded automatically. From the directory `/home/bitcoin/cl-plugins-enabled` it will load auomatically after restarts.
From that directory it will load auomatically after restarts. * To just load it run it once store in (and start from):
To just load it run it once store in:
`/home/bitcoin/cl-plugins-available/` `/home/bitcoin/cl-plugins-available/`
### CLBOSS ### CLBOSS