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

Grin server fails as daemon and cannot even be backgrounded #2589

Closed
seibelj opened this issue Feb 17, 2019 · 4 comments
Closed

Grin server fails as daemon and cannot even be backgrounded #2589

seibelj opened this issue Feb 17, 2019 · 4 comments

Comments

@seibelj
Copy link

seibelj commented Feb 17, 2019

Describe the bug
Running Grin as a daemon fails, as has been described in other bug reports. However, it also cannot even be backgrounded. It is seemingly impossible to run Grin without a live, active terminal.

To Reproduce
Try to run as daemon (./grin server start) which exits immediately.

Alternatively, try to background it:
./grin server run &
Or
./grin server run then ctrl + z to suspend, then bg to background.

If you try to hit the node status API with GET http://localhost:3413/v1/status it will hang, but the moment grin is foregrounded (fg) the API stops hanging and loads instantly.

I'm trying to create a desktop GUI with the grin daemon bundled in, but it appears there is literally no way to run Grin except manually in a terminal ☹️

Desktop (please complete the following information):

  • OS: MacOS
  • Version 1.0.1
@0xmichalis
Copy link
Contributor

It is seemingly impossible to run Grin without a live, active terminal.

FWIW, I am running grin via systemd successfully since mainnet launch.

@hashmap
Copy link
Contributor

hashmap commented Feb 24, 2019

I got an impression that we are removing daemonization support, perhaps @yeastplume can tell more

@0xmichalis
Copy link
Contributor

I got an impression that we are removing daemonization support, perhaps @yeastplume can tell more

Daemonization support was removed in #2535

@quentinlesceller
Copy link
Member

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants