Fixed backgrounding for XMRigCCServer on Windows

Cleanup of default config files
Extendend Readme.md
This commit is contained in:
BenDroid 2017-10-25 22:48:59 +02:00
parent 8e29430c75
commit e91db9e056
9 changed files with 96 additions and 115 deletions

View file

@ -1,78 +1,3 @@
installation:
sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libcurl4-gnutls-dev
(or any other libcurl)
git clone https://github.com/Bendr0id/xmrigCC.git
cd xmrigCC
mkdir build
cd build
cmake ..
make
config cc server:
sample is in src folder (config_cc.json):
{
"background": false, // true to run the cc-server in the background (no console)
"colors": true, // false to disable colored output
"log-file": null, // log all output to a file
"syslog": false, // use system log for output messages
"cc-server": {
"port": 3344, // port the CC Server will listens on
"access-token": null, // access token for CC Clients (should be set!!!)
"user": "admin", // admin user for access CC Dashboard
"pass": "pass", // admin pass for access CC Dashboard
"client-config-folder" : null, // folder which contains the client-config files (null=current)
"custom-dashboard" : "index.html" // dashboard html file
}
}
config cc client (miner):
sample is in src folder (config.json):
{
"algo": "cryptonight-light",
"av": 0,
"background": false,
"colors": true,
"cpu-affinity": null,
"cpu-priority": null,
"donate-level": 0,
"log-file": null,
"max-cpu-usage": 75,
"print-time": 60,
"retries": 5,
"retry-pause": 5,
"safe": false,
"syslog": false,
"threads": null,
"pools": [
{
"url": "pool.aeonmining.pro:3333", // your pool here
"user": "Wmtm4S2cQ8uEBBAVjvbiaVAPv2d6gA1mAUmBmjna4VF7VixLxLRUYag5cvsym3WnuzdJ9zvhQ3Xwa8gWxPDPRfcQ3AUkYra3W", // your wallet here
"pass": "donate",
"keepalive": true,
"nicehash": false
}
],
"api": {
"port": 3339, // port for the miner API https://github.com/xmrig/xmrig/wiki/API
"access-token": null, // access token for API
"worker-id": null // custom worker-id for API
},
"cc-client": {
"url": "localhost:3344", // url of the CC Server (ip:port)
"access-token": null, // access token for CC Server (has to be the same in config_cc.json)
"worker-id": null // custom worker-id for CC Server (otherwise hostname is used)
}
}
config to deploy / notes: