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

Pool and PM2 #124

Open randygrolemund opened 5 years ago

randygrolemund commented 5 years ago

Hello... I believe ZLS forked your pool. I'm having a hell of a time getting things to run with PM2. For example.. whether I use a switch or not, it still prompts me for the http auth creds... I need this to be silently passed.

What is the best way, on ubuntu, to get the daemon and wallet running with pm2, and still pass configs? Here's what I am trying, which is not working.

./zeleriusd --zeleriusd-authorization=test:test12345 (example)

./walletd --wallet-file=pool_service.wallet --wallet-password=test12345 --zeleriusd-authorization=test:test12345 --zeleriusd-remote-address=127.0.0.1:48081

I can get everything working, if I just bring up walletd .... and the pool works/pays out (I've been mining it since last night)... but I have to keep a shell window up. I'm experienced with linux... and all the stuff I would normally use to make something headless, is not working out.

I'm sure the solution is stupid easy... I'm just not connecting the dots correctly here. Please advise.

randygrolemund commented 5 years ago

image

Here's an example.... I have --zeleriusd-authorization=test:test12345 . but it still prompts for the credentials

randygrolemund commented 5 years ago

I ended up getting everything working with walletd alone, and echo'd the creds in via a shell script. I had tried that early this morning, but I must have had a typo. Anyhow... my ZLS pool is working perfectly now, and in PM2. The other upside is, the amount of time it took me to troubleshoot all areas, has made me really fast at configuring and moving around the software. Loving it.