-
Notifications
You must be signed in to change notification settings - Fork 28
Running LightningTip with supervisord
bretton edited this page Apr 1, 2018
·
1 revision
Add a .conf file for lightningtip
to supervisor
as follows:
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