-
-
Save royalgarter/7b8eb3c4278b30d567f0e0091fcbc54f 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