Set Daemon For Geth
As sometimes , geth process will be killed by VPS system ,so we need to set daemon for geth processed.It's easy and suitable to set daemon in Linux OS, you may use supervisor,(http://supervisord.org).
We assume the source code go-etherzero is in directory /root amd geth is running by root user.
Write daemon.sh
CAUTION: you must replace the words 'your address' to your own rewards address.
Generating the miner.sh
set daemon.sh and miner.sh for execute miner start each minute
As the crontab is running by every minute ,so we need to set another shell script for each seconds to monitor the process,
Generating the second.sh.
Add second.sh instead of daemon.sh, to monitor geth process every one second
Last updated