mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 02:12:49 +00:00
22 lines
346 B
SYSTEMD
22 lines
346 B
SYSTEMD
|
# myNode Unlock LND
|
||
|
# /etc/systemd/system/lnd_unlock.service
|
||
|
|
||
|
[Unit]
|
||
|
Description=Post LND Unlock
|
||
|
Wants=lnd.service
|
||
|
After=lnd.service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/usr/bin/unlock_lnd.sh
|
||
|
User=bitcoin
|
||
|
Group=bitcoin
|
||
|
StandardOutput=syslog
|
||
|
StandardError=syslog
|
||
|
SyslogIdentifier=lnd
|
||
|
Restart=always
|
||
|
RestartSec=1
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|