24 lines
440 B
SYSTEMD
24 lines
440 B
SYSTEMD
|
# myNode invalid block service
|
||
|
# /etc/systemd/system/invalid_block_check.service
|
||
|
|
||
|
[Unit]
|
||
|
Description=myNode Bitcoin Invalid Block Check
|
||
|
After=network.target mynode.service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
KillMode=process
|
||
|
ExecStart=/usr/bin/mynode_invalid_block_check.sh
|
||
|
User=root
|
||
|
Group=root
|
||
|
TimeoutSec=300
|
||
|
Restart=always
|
||
|
RestartSec=30
|
||
|
Nice=5
|
||
|
StandardOutput=syslog
|
||
|
StandardError=syslog
|
||
|
SyslogIdentifier=bitcoind
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|