Created
March 22, 2018 10:10
-
-
Save mariodian/f766645710c1f6922c429f751869e744 to your computer and use it in GitHub Desktop.
LND Systemd script
This file contains hidden or 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=LND Lightning Daemon | |
Requires=bitcoind.service | |
After=bitcoind.service | |
[Service] | |
ExecStart=/home/satoshi/go/bin/lnd | |
ExecStop=/home/satoshi/go/bin/lncli stop | |
PIDFile=/home/satoshi/.lnd/lnd.pid | |
User=satoshi | |
Group=satoshi | |
Type=simple | |
KillMode=process | |
TimeoutStartSec=60 | |
TimeoutStopSec=60 | |
Restart=always | |
RestartSec=60 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment