Last active
July 3, 2021 02:14
-
-
Save bumi/c871a0bc082dc9bc9c5d1c19001d9a8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Application Options] | |
lnddir=/home/bitcoin/lnd_data | |
maxpendingchannels=10 | |
alias=YOURALIAS | |
rpclisten=0.0.0.0:10009 | |
[Bitcoin] | |
bitcoin.active=1 | |
bitcoin.mainnet=1 | |
bitcoin.node=bitcoind | |
[bitcoind] | |
bitcoind.dir=/home/bitcoin/bitcoind_data | |
[Autopilot] | |
autopilot.active=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Lightning Network daemon | |
Requires=bitcoind.service | |
After=bitcoind.service | |
[Service] | |
ExecStart=/home/bitcoin/go/bin/lnd --configfile=/home/bitcoin/lnd_data/lnd.conf | |
User=bitcoin | |
Type=simple | |
Restart=always | |
RuntimeDirectory=lnd | |
PIDFile=/run/lnd/lnd.pid | |
PrivateTmp=true | |
ProtectSystem=full | |
NoNewPrivileges=true | |
PrivateDevices=true | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment