mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 02:12:49 +00:00
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
|