mynode/rootfs/standard/etc/systemd/system/loopd.service
2020-07-17 18:10:23 -05:00

26 lines
449 B
Desktop File

# loopd service
# /etc/systemd/system/loopd.service
[Unit]
Description=loopd
Wants=lnd.service
After=lnd.service
[Service]
ExecStartPre=/usr/bin/is_not_shutting_down.sh
ExecStartPre=/usr/bin/wait_on_lnd.sh
ExecStart=/usr/local/bin/loopd
User=bitcoin
Group=bitcoin
Type=simple
KillMode=control-group
TimeoutSec=240
Restart=always
RestartSec=60
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=loopd
[Install]
WantedBy=multi-user.target