How restart only miner (no vps)?
freebet opened this issue · 6 comments
freebet commented
Check list
-
Ask for HELP.
-
Already check README.md but unsloved.
Hello,
How restart only miner (no vps) after change config.json, possible?
Thanks.
3bkry commented
restart nodejs would help
evil7 commented
forever restartall
or forever list
and do restart what one need be.
qfdk commented
To response your question, there are 3 solutions:
- as evil7 mentioned using
forever
- install
nodemon
with commandnpm i nodemon -g
then use commandnodemon cluster.js
(you can change your file, nodemon will restart the node.js) - install
pm2
then use pm2
Cdt
evil7 commented
yep some kind of deamon which U wanna used. u can change it if you want
freebet commented
okey, thanks for your solutions.
in reality i want change config.json and pointed new pool/wallet without losing hashrate, possible something like that?
evil7 commented
you can just restart it. In website they will auto re-connect to deepminer if losed the websocket. So that no big deal. lose maybe just 5s. at all