This commit is contained in:
rootzoll
2021-10-10 10:43:47 +02:00

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