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

27 lines
539 B
SYSTEMD
Raw Normal View History

# pool service
# /etc/systemd/system/pool.service
2020-11-17 00:55:30 +00:00
[Unit]
Description=pool
2020-11-17 00:55:30 +00:00
Wants=lnd.service
After=lnd.service
[Service]
ExecStartPre=/usr/bin/is_not_shutting_down.sh
ExecStartPre=/usr/bin/wait_on_lnd.sh
2021-03-09 03:55:39 +00:00
EnvironmentFile=/mnt/hdd/mynode/pool/env
2021-04-14 05:19:04 +00:00
ExecStart=/usr/local/bin/poold --network=${NETWORK} --basedir=/mnt/hdd/mynode/pool
2020-11-17 00:55:30 +00:00
User=bitcoin
Group=bitcoin
Type=simple
KillMode=control-group
TimeoutSec=240
Restart=always
RestartSec=60
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=pool
2020-11-17 00:55:30 +00:00
[Install]
WantedBy=multi-user.target