mynode/rootfs/standard/etc/systemd/system/lnd_backup.service

22 lines
375 B
SYSTEMD
Raw Normal View History

2019-06-15 23:02:44 +00:00
# myNode Backup LND
# /etc/systemd/system/lnd_backup.service
[Unit]
Description=Backup LND Channel File
Wants=lnd.service
After=lnd.service
[Service]
Type=simple
ExecStart=/usr/bin/mynode_lnd_channel_backup.sh
Restart=always
RestartSec=1
User=bitcoin
Group=bitcoin
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=lndbackup
[Install]
WantedBy=multi-user.target