xmr-node-proxy icon indicating copy to clipboard operation
xmr-node-proxy copied to clipboard

how to restart xmr-node-proxy

Open mike8032 opened this issue 7 years ago • 4 comments
trafficstars

hi after i have altered the config file i have to restart the whole system to get my config set. is there a way to restart xmr-node-proxy wihtout restarting the whole system? thx upfront for your answer.

mike8032 avatar Jan 08 '18 14:01 mike8032

I think there is not a way as your wish. pm2 restart proxy —update-env gets less impact that stop / start. Still disconnections from miners.

bobbieltd avatar Jan 08 '18 15:01 bobbieltd

hi so the comand would be like this: pm2 restart proxy -update-env or like this pm2 restart proxy —update-env

you wrote a little different than usual. this is why ask. thanks

mike8032 avatar Jan 15 '18 10:01 mike8032

There is gracefulReload and reload too but I didn’t test if it takes new config. You can try. Update enviroment is just for the case the proxy use environment variables ( I didn’t see proxy’s all codes yet ) “pm2 restart proxy” could be enough. See screenshot : 4101c923-ecbe-4814-a001-408a0f82bcc3

bobbieltd avatar Jan 15 '18 19:01 bobbieltd

Perhaps receiving a SIGHUP should prompt the application to reload its config file

kim0 avatar Jan 21 '18 15:01 kim0