Advertisement
sareea

server.json

Aug 4th, 2011
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. {
  2. "listen":[
  3. {
  4. "port":8342
  5. },
  6. {
  7. "port":8341,
  8. "protocol":"http-json"
  9. },
  10. {
  11. "port":8332,
  12. "protocol":"http-json",
  13. "proxy":"127.0.0.1"
  14. },
  15. {
  16. "host":"127.0.0.1",
  17. "port":8338,
  18. "protocol":"binary"
  19. }
  20. ],
  21. "database":{
  22. "engine":"mysql",
  23. "host":"localhost",
  24. "port":3306,
  25. "name":"name",
  26. "username":"user",
  27. "password":"password",
  28. "sharelog":true,
  29. "stmt.pwdb":"SELECT `password` FROM `pool_worker` WHERE `username` = ?",
  30. "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"
  31. },
  32. "memcached":{
  33. "servers":[
  34. {
  35. "host":"127.0.0.1",
  36. "port":11211
  37. }
  38. ]
  39. },
  40. "pid":"/tmp/pushpoold.pid",
  41. "forcehost":"localhost.localdomain",
  42. "log.requests":"/tmp/request.log",
  43. "log.shares":"/tmp/shares.log",
  44. "longpoll.disable":false,
  45. "auth.cred_cache.expire":75,
  46. "rpc.url":"http://127.0.0.1:8333/",
  47. "rpc.user":"user",
  48. "rpc.pass":"pass",
  49. "rpc.target.rewrite":true
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement