Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checking for config files in user home directory #1925

Merged
merged 1 commit into from Nov 2, 2020
Merged

Add checking for config files in user home directory #1925

merged 1 commit into from Nov 2, 2020

Conversation

nopeinomicon
Copy link
Contributor

Check for configuration files in the home directory to give the user sane config locations without a command line argument. Especially useful for Linux packaging. Made to resolve #1923

Check for configuration files in the home directory to make packaging XMRig for Linux easier.
@xmrig
Copy link
Owner

xmrig commented Nov 2, 2020

Merged into dev branch and will be included to v6.5.0 release soon.
Thank you.

@xmrig xmrig added this to the v6 milestone Nov 2, 2020
@xmrig xmrig merged commit e295a93 into xmrig:master Nov 2, 2020
@sitthiporn33
Copy link

{ "บันทึกอัตโนมัติ": จริง, "ระดับบริจาค": 1, "cpu": { "เปิดใช้งาน": จริง, "หน้าใหญ่": จริง, "hw-aes": null, "ลำดับความสำคัญ": null, "asm ": true, "max-threads-hint": 100, "max-cpu-usage": 100, "yield": false, "init": -1, "*": { "intensity": 2, "threads ": 8, "affinity": -1 } }, "opencl": true, "cuda": true, "pools": [ { "coin": "monero", "algo": "cn/gpu", " url": "168.235.86.33:3393", "ผู้ใช้": "SK_QzApkbVGsAxyQykaWSnEF.sitthiporn", "pass": "x", "tls": false, "keepalive": true, "nicehash": false } ] }

@maddmaxx1738
Copy link

{
"http": {
"enabled": true,
"host": "0.0.0.0",
"port": 53045,
"access-token": "xrp_3u5dvNmEGRNozd93Ffbpbp6AB5mqWYovWMu4",
"restricted": false
},
"autosave": true,
"donate-level": 5,
"cpu": true,
"opencl": true,
"cuda": true,
"pools": [
{
"coin": "monero",
"url": "127.0.0.1:18081",
"user": "82bx2jpbh1qBLF8xrHKdnBU6Ks8Sz2T1UFxkT55q7mzxd8g4fWBQQfFArjDAM8kwc8Dp4iKF33pP4i53PR7PBr9NKRL9hgR",
"daemon": true
},
{
"coin": "monero",
"url": "pool.xmr.pt:9000",
"user": "82bx2jpbh1qBLF8xrHKdnBU6Ks8Sz2T1UFxkT55q7mzxd8g4fWBQQfFArjDAM8kwc8Dp4iKF33pP4i53PR7PBr9NKRL9hgR",
"keepalive": true,
"tls": true
}
]
}

@deezmoney206
Copy link

#is this going to work properly,?
{
"api": {
"id": null,
"worker-id": null
},
"http": {
"enabled": false,
"host": "127.0.0.1",
"port": 0,
"access-token": null,
"restricted": true
},
"autosave": true,
"background": false,
"colors": true,
"title": true,
"randomx": {
"init": -1,
"init-avx2": -1,
"mode": "auto",
"1gb-pages": false,
"rdmsr": true,
"wrmsr": true,
"cache_qos": false,
"numa": true,
"scratchpad_prefetch_mode": 1
},
"cpu": {
"enabled": true,
"huge-pages": true,
"huge-pages-jit": false,
"hw-aes": null,
"priority": null,
"memory-pool": false,
"yield": true,
"asm": true,
"argon2-impl": null,
"argon2": [0, 2, 3],
"cn": [
[1, 0],
[1, 2]
],
"cn-heavy": [
[1, 0]
],
"cn-lite": [
[1, 0],
[1, 2],
[1, 3]
],
"cn-pico": [
[2, 0],
[2, 1],
[2, 2],
[2, 3]
],
"cn/upx2": [
[2, 0],
[2, 1],
[2, 2],
[2, 3]
],
"ghostrider": [
[8, 0],
[8, 2]
],
"rx": [0, 2],
"rx/arq": [0, 1, 2, 3],
"rx/wow": [0, 2, 3],
"cn-lite/0": false,
"cn/0": false,
"rx/keva": "rx/wow"
},
"opencl": {
"enabled": false,
"cache": true,
"loader": null,
"platform": "AMD",
"adl": true
},
"cuda": {
"enabled": false,
"loader": null,
"nvml": true
},
"log-file": null,
"donate-level": 3,
"donate-over-proxy": 1,
"pools": [
{
"algo": null,
"coin": null,
"url": "pool.hashvault.pro:443",
"user": "49v8Um4GWHM2Aevh9uV1ypaoZNtHsRwAMcPsgdHXjHWqYiymyVosxr6QDfxqJWCfPSena3RqD5ojGPBfHQ6yoDC4K4npaSB",
"pass": "deez",
"rig-id": null,
"nicehash": false,
"keepalive": true,
"enabled": true,
"tls": true,
"tls-fingerprint": null,
"daemon": false,
"socks5": null,
"self-select": null,
"submit-to-origin": false
}
],
"retries": 5,
"retry-pause": 5,
"print-time": 60,
"health-print-time": 60,
"dmi": true,
"syslog": false,
"tls": {
"enabled": false,
"protocols": null,
"cert": null,
"cert_key": null,
"ciphers": null,
"ciphersuites": null,
"dhparam": null
},
"dns": {
"ipv6": false,
"ttl": 30
},
"user-agent": null,
"verbose": 0,
"watch": true,
"pause-on-battery": false,
"pause-on-active": false
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check for config file in standard directories on Linux/BSD
5 participants