mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 10:22:50 +00:00
26 lines
416 B
Desktop File
26 lines
416 B
Desktop File
# loopd service
|
|
# /etc/systemd/system/loopd.service
|
|
|
|
[Unit]
|
|
Description=loopd
|
|
Wants=lnd.service
|
|
After=lnd.service
|
|
|
|
[Service]
|
|
ExecStartPre=/usr/bin/wait_on_lnd.sh
|
|
ExecStart=/usr/local/bin/loopd
|
|
|
|
User=bitcoin
|
|
Group=bitcoin
|
|
Type=simple
|
|
KillMode=process
|
|
LimitNOFILE=128000
|
|
TimeoutSec=240
|
|
Restart=always
|
|
RestartSec=60
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=loopd
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |