sshd: when a daemon forks
Gabriel C
nix.or.die at googlemail.com
Sun Apr 22 12:44:31 BST 2007
Mildred wrote:
> Hi again,
>
> Sorry for asking so many questions but now i have a daemon (ssh) and I
> can't find a command line option to make it run in the foreground. So
> when the upstart script starts, it stops directly thinking the daemon
> died (which is false).
> So I wonder how to handle such situations with upstart.
>
As I said , by 'patching|fixing' the daemons..
Anyway sshd has one ..
...
-D When this option is specified, sshd will not detach and does not
become a daemon. This allows easy monitoring of
sshd.
...
> Thanks
>
> Mildred
>
>
Gabriel
More information about the upstart-devel
mailing list