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

27 lines
588 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
2021-03-09 03:55:39 +00:00
EnvironmentFile=/mnt/hdd/mynode/loop/env
ExecStart=/usr/local/bin/loopd --network=${NETWORK} --loopdir=/mnt/hdd/mynode/loop --lnd.macaroonpath=${LND_ADMIN_MACAROON_PATH}
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