Add a .conf file for lightningtip to supervisor as follows:
lightningtip
supervisor
cd /etc/supervisor/conf.d/ sudo nano lightningtip.conf
Add the following content, replacing REPLACE-LNTIP-USER with the username lightningtip is running under:
[program:lightningtip] user=REPLACE-LNTIP-USER command=/home/REPLACE-LNTIP-USER/go/bin/lightningtip --config=/home/REPLACE-LNTIP-USER/.lightningtip/lightningTip.conf startretries=999999999999999999999999999 autostart=true autorestart=true
Then reload supervisor:
sudo supervisorctl reload
To stop run:
sudo supervisorctl stop lightningtip
To start again run:
sudo supervisorctl start lightningtip
There was an error while loading. Please reload this page.