24 lines
445 B
Desktop File
24 lines
445 B
Desktop File
# 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=control-group
|
|
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=bitcoin
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|