mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 18:02:49 +00:00
27 lines
539 B
Desktop File
27 lines
539 B
Desktop File
# pool service
|
|
# /etc/systemd/system/pool.service
|
|
|
|
[Unit]
|
|
Description=pool
|
|
Wants=lnd.service
|
|
After=lnd.service
|
|
|
|
[Service]
|
|
ExecStartPre=/usr/bin/is_not_shutting_down.sh
|
|
ExecStartPre=/usr/bin/wait_on_lnd.sh
|
|
EnvironmentFile=/mnt/hdd/mynode/pool/env
|
|
ExecStart=/usr/local/bin/poold --network=${NETWORK} --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=pool
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |