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/wait_on_lnd.sh
|
2020-02-09 05:19:12 +00:00
|
|
|
ExecStart=/usr/local/bin/loopd
|
2019-06-15 23:02:44 +00:00
|
|
|
|
|
|
|
User=bitcoin
|
|
|
|
Group=bitcoin
|
|
|
|
Type=simple
|
2020-02-09 02:20:35 +00:00
|
|
|
KillMode=process
|
2019-06-15 23:02:44 +00:00
|
|
|
LimitNOFILE=128000
|
|
|
|
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
|