Created
October 1, 2017 03:52
-
-
Save samidarko/f108a51b86acd15d35b90b1a7eddc2a6 to your computer and use it in GitHub Desktop.
zec/start.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd ${HOME}/zec | |
SRV="eu1-zcash.flypool.org:3333" | |
ADDRESS="" | |
RIG=`hostname` | |
LOGFILE="logs/stdout.log" | |
ERRORLOG="logs/stderr.log" | |
nohup ./bin/nheqminer_cuda_tromp -cd 0 1 2 3 4 5 -cb 12 16 -ct 64 128 -l ${SRV} -u ${ADDRESS}.${RIG} 2> $ERRORLOG > $LOGFILE & | |
PID=$! | |
echo ${PID} > pid | |
echo "process started with pid ${PID}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment