Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run gxminer in background? #5

Open
corcepts opened this issue Feb 11, 2020 · 1 comment
Open

How to run gxminer in background? #5

corcepts opened this issue Feb 11, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@corcepts
Copy link

Hi, its great in the next release a option to run in background!

@c0mm4nd
Copy link
Owner

c0mm4nd commented Feb 26, 2020

  • Windows

modify the build.sh file

flag="-X main.BuildVersion=`echo $ALGO`"

to

flag="-X main.BuildVersion=`echo $ALGO` -H=windowsgui"

And plan B is that making this application a windows service. It's not good. It should be just a simple standalone application.

  • Others

use nohup ./gxminer > /dev/null 2>&1 &, screen, tmux. pm2, supervisor...

Tons of daemon/shell managers are better than built-in daemon function.

@c0mm4nd c0mm4nd changed the title Insert option to run in background in next release! How to run gxminer in background? Feb 26, 2020
@c0mm4nd c0mm4nd added the documentation Improvements or additions to documentation label Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants