lnd/contrib/init
2022-01-11 14:08:18 +01:00
..
lnd.service docs: remove PIDFile from example systemd service 2022-01-11 14:08:18 +01:00
README.md docs: add example systemd service file 2021-11-30 23:43:24 -05:00

Init

Sample configuration files for:

systemd: lnd.service

systemd

Add the example lnd.service file to /etc/systemd/system/ and modify it according to your system and user configuration. Use the following commands to interact with the service:

# Enable lnd to automatically start on system boot
systemctl enable lnd

# Start lnd
systemctl start lnd

# Restart lnd
systemctl restart lnd

# Stop lnd
systemctl stop lnd

Systemd will attempt to restart lnd automatically if it crashes or otherwise stops unexpectedly.