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

Daemonized redbean doesn't exit when run from ssh #1121

Open
mierenhoop opened this issue Mar 1, 2024 · 2 comments
Open

Daemonized redbean doesn't exit when run from ssh #1121

mierenhoop opened this issue Mar 1, 2024 · 2 comments

Comments

@mierenhoop
Copy link
Contributor

When starting a daemonized redbean server on a remote machine using ssh:

$ ssh machine /redbean.com -d

The ssh session does not return.

This was fixed when adding the -t flag to ssh:

$ ssh -t machine /redbean.com -d

It does return like expected.

I doubt "allocating a pseudo-terminal" should be required for starting the daemon.

@pkulchenko
Copy link
Collaborator

I noticed the same thing and came up with exactly the same solution. I used to work (likely with v2.0 or so), but then stopped working about 9m ago. I haven't had a chance to look at what may be happening, so would be interesting to find out what's happening.

@mierenhoop
Copy link
Contributor Author

I've found that it last worked at 9c7b81e and stopped working (started freezing) at 965516e.

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

2 participants