blob: f524531bbb845849c8b685bcb2a8db55e56bf7dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
post_install() {
echo "$(tput setaf 1)To get this running at a minimum you'll need to copy /usr/lib/node_modules/c-lightning-rest/sample-cl-rest-config.json$(tput sgr0)"
echo "$(tput setaf 1)to /usr/lib/node_modules/c-lightning-rest/cl-rest-config.json and setup the configuration options in cl-rest-config.json$(tput sgr0)"
echo "$(tput setaf 1)appropriately for your setup. You also may need to edit /usr/lib/systemd/system/REST.service for you configuration.$(tput sgr0)"
echo "$(tput setaf 1)$(tput sgr0)"
echo "$(tput setaf 1)Make sure that the user "bitcoin" can access the lightning-rpc file and configure LNRPCPATH appropriately.$(tput sgr0)"
echo "$(tput setaf 1)$(tput sgr0)"
echo "$(tput setaf 1)You can then start REST.service with systemctl.$(tput sgr0)"
echo "$(tput setaf 1) $(tput sgr0)"
}
|