diff --git a/config_cc.json b/config_cc.json new file mode 100644 index 00000000..04ec6d4f --- /dev/null +++ b/config_cc.json @@ -0,0 +1,20 @@ +{ + "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 + "port": 1234, // port the CC Server will listens on + "use-tls" : false, // use tls for CC communication (needs to be enabled on miners too) + "cert-file" : "server.pem", // when tls is turned on, use this to point to the right cert file + "key-file" : "server.key", // when tls is turned on, use this to point to the right key file + "access-token": "P5häe7©'[*CKq{X7§^G{YI}6ê@I0z0ml3O
lock(m_mutex); - m_timer->stop(); + if (m_timer) + { + m_timer->stop(); + } m_clientCommand.clear(); m_clientStatus.clear();