My "kill -9" was a description of similar end result as to what happens on shutdown. Mosh behaves the same way.
I'm not normally using "kill" directly, I just wish it behaves the same way on reboot and shutdown (i.e. normal kill).
I don't even know is there "kill" (SIGTERM) done to mosh on shutdown. This was just a guess.
Another option is that it's missing.
I read somewhere that at least BSD /sbin/shutdown tries to first kill with SIGTERM and after that with SIGKILL.
I don't actually know what the behavior should be on Ubuntu 15.04.
My "kill -9" was a description of similar end result as to what happens on shutdown. Mosh behaves the same way.
I'm not normally using "kill" directly, I just wish it behaves the same way on reboot and shutdown (i.e. normal kill).
I don't even know is there "kill" (SIGTERM) done to mosh on shutdown. This was just a guess.
Another option is that it's missing.
I read somewhere that at least BSD /sbin/shutdown tries to first kill with SIGTERM and after that with SIGKILL.
I don't actually know what the behavior should be on Ubuntu 15.04.