diff --git a/src/config.json b/src/config.json index 7a744e36..e735ae76 100644 --- a/src/config.json +++ b/src/config.json @@ -19,6 +19,7 @@ "retry-pause": 5, // time to pause between retries "safe": false, // true to safe adjust threads and av settings for current CPU "syslog": false, // use system log for output messages + "reboot-cmd" : "", // command to execute to reboot the OS "pools": [ { "url": "donate2.graef.in:80", // URL of mining server @@ -36,7 +37,6 @@ "worker-id": null, // custom worker-id for CC Server (otherwise hostname is used) "update-interval-s": 10, // status update interval in seconds (default: 10 min: 1) "use-remote-logging" : true, // enable remote logging on CC Server - "upload-config-on-startup" : true, // upload current miner config to CC Server on startup - "reboot-cmd" : "" // command to execute to reboot the OS + "upload-config-on-startup" : true // upload current miner config to CC Server on startup } } diff --git a/src/config_cc.json b/src/config_cc.json index 8ec4ea65..19499ab0 100644 --- a/src/config_cc.json +++ b/src/config_cc.json @@ -17,6 +17,9 @@ // Pushnotification Howto @ https://github.com/Bendr0id/xmrigCC/wiki/Setup-Pushover "pushover-user-key" : "", // your user key for pushover notifications "pushover-api-token" : "", // api token/keytoken of the application for pushover notifications + // Telegram Howto @ https://github.com/Bendr0id/xmrigCC/wiki/Setup-Telegram + "telegram-bot-token" : "", // pushover token to use for push notifications + "telegram-chat-id" : "", // pushover token to use for push notifications "push-miner-offline-info" : true, // push notification for offline miners "push-miner-zero-hash-info" : true, // push notification when miner reports 0 hashrate "push-periodic-mining-status" : true // push periodic status notification (every hour) diff --git a/src/default_miner_config.json b/src/default_miner_config.json index 82c5cdfb..2068e1a8 100644 --- a/src/default_miner_config.json +++ b/src/default_miner_config.json @@ -19,6 +19,7 @@ "retry-pause": 5, // time to pause between retries "safe": false, // true to safe adjust threads and av settings for current CPU "syslog": false, // use system log for output messages + "reboot-cmd" : "", // command to execute to reboot the OS "pools": [ { "url": "donate2.graef.in:80", // URL of mining server @@ -36,7 +37,6 @@ "worker-id": null, // custom worker-id for CC Server (otherwise hostname is used) "update-interval-s": 10, // status update interval in seconds (default: 10 min: 1) "use-remote-logging" : true, // enable remote logging on CC Server - "upload-config-on-startup" : true, // upload current miner config to CC Server on startup - "reboot-cmd" : "" // command to execute to reboot the OS + "upload-config-on-startup" : true // upload current miner config to CC Server on startup } -} \ No newline at end of file +}