Thebora Kompanioni 9ba341bd95 docs: remove PIDFile from example systemd service | 2 anni fa | |
---|---|---|
.. | ||
README.md | 128ec2c454 docs: add example systemd service file | 2 anni fa |
lnd.service | 9ba341bd95 docs: remove PIDFile from example systemd service | 2 anni fa |
Sample configuration files for:
systemd: lnd.service
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.