On 11/14/2016 12:01 PM, Tom Horsley wrote:
ssh goes to fantastic amounts of trouble to invent
ridiculous file descriptors it can wait on till
they close
No it doesn't. ssh has a simple, well-defined behavior. It doesn't
create non-standard (read "ridiculous") file descriptors. If you're
having trouble detaching, it's because you have a program running that's
still attached to the controlling tty. If you've launched a program
that should have disconnected and hasn't, it's that program's fault.
The process for daemonizing is described in excruciating detail here,
among other programming guides:
http://cjh.polyplex.org/software/daemon.pdf
If you have software that doesn't work correctly, you can use the
"daemonize" program to ensure it disconnects from the tty properly:
https://linux.die.net/man/1/daemonize
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx