fancoder / cryptonote-universal-pool

Mining pool for all CryptoNote based coins such as Bytecoin, duckNote, Monero, and Fantomcoin.
http://cryptonotemining.org
GNU General Public License v2.0
335 stars 308 forks source link

How to stop the pool safely? #93

Open roshljo opened 6 years ago

roshljo commented 6 years ago

Hello, just to ask how to stop the pool safely, for example when I have made a change in the config file and wish to re-start the pool with the new settings? If I just press Ctrl-C in the console where it is running will it save all the info about shares, hashes, etc. and later continue with the mining, or will it forget all that and start as if it was a new install? Also where is the shares/hashes info stored? I am running Ubuntu 14.04 LTS

phil2cr commented 6 years ago

I use Ctl-C no problem for node init.js

for rpc deamon i use exit

for the wallet exit or Ctl-C (the latest maybe not recomanded i don't know)

CerveloFellow commented 6 years ago

I think the shares and hashes are stored in redis so you should be safe to send a SIGTERM to all your node processes. I'm running them with "forever" and just issue a forever restartall which so far has worked ok for me with no issues.