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

26 lines
480 B
SYSTEMD
Raw Normal View History

2020-02-09 02:20:35 +00:00
# loopd service
# /etc/systemd/system/loopd.service
2019-06-15 23:02:44 +00:00
[Unit]
2020-02-09 02:20:35 +00:00
Description=loopd
Wants=lnd.service
After=lnd.service
2019-06-15 23:02:44 +00:00
[Service]
ExecStartPre=/usr/bin/is_not_shutting_down.sh
2019-06-15 23:02:44 +00:00
ExecStartPre=/usr/bin/wait_on_lnd.sh
2020-11-17 00:55:20 +00:00
ExecStart=/usr/local/bin/loopd --loopdir=/mnt/hdd/mynode/loop
2019-06-15 23:02:44 +00:00
User=bitcoin
Group=bitcoin
Type=simple
KillMode=control-group
2019-06-15 23:02:44 +00:00
TimeoutSec=240
Restart=always
RestartSec=60
StandardOutput=syslog
StandardError=syslog
2020-02-09 02:20:35 +00:00
SyslogIdentifier=loopd
2019-06-15 23:02:44 +00:00
[Install]
WantedBy=multi-user.target