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

Daemon stops running when started in a ssh pseudo-terminal #5

Closed
lancerushing opened this issue Dec 9, 2015 · 2 comments
Closed

Daemon stops running when started in a ssh pseudo-terminal #5

lancerushing opened this issue Dec 9, 2015 · 2 comments

Comments

@lancerushing
Copy link

If I ssh into a server and start a daemon everything works fine.

  1. ssh in.
  2. run daemon
    • $ sudo god -r / -n -l /tmp/test.log -p /tmp/test.pid -- sleep 100
  3. logout
  4. check if process is still running ... success.

However if I use a pseudo terminal with SSH the process fails:

  1. ssh command:
    • $ ssh -t user@myhost "sudo god -r / -n -l /tmp/test.log -p /tmp/test.pid -- sleep 100"
  2. check if process is still running ... fail
@ranrub
Copy link

ranrub commented Feb 29, 2016

+1 This happens to me in ubuntu 14.04

@ranrub
Copy link

ranrub commented Feb 29, 2016

The effect I'm seeing is strangely probabilistic - when you start the daemon in pesudotty, about 90% of the times the daemon doesn't start (fails silently). In the other 10% daemon starts and runs normally.

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