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

26 lines
480 B
SYSTEMD
Raw Normal View History

2020-11-17 00:55:30 +00:00
# poold service
# /etc/systemd/system/poold.service
[Unit]
Description=poold
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/poold --basedir=/mnt/hdd/mynode/pool
User=bitcoin
Group=bitcoin
Type=simple
KillMode=control-group
TimeoutSec=240
Restart=always
RestartSec=60
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=poold
[Install]
WantedBy=multi-user.target