sshd: when a daemon forks
Daniel L. Miller
dmiller at amfes.com
Mon Apr 23 01:12:32 BST 2007
Alex Smith wrote:
> Mildred wrote:
>
>> Sorry, even if I read the ssh manual page and help output i didn't see
>> the -D flag that keeps sshd in the foreground.
>>
>> But the question is still here, it is possible that some daemons do not
>> provide this kind of feature, then how do you use them with upstart ?
>>
>> Mildred
>>
>
> Run the daemon as a state as a temporary solution. This means just have
> a pre-start script that starts the daemon and a post-stop script that
> kills it, and have no exec/script stanza. Also include the service keyword.
>
> Of course, the long term solution would be to patch the daemon.
>
> Thanks,
> Alex
>
>
Would the djb fghack or pgrphack assist here?
--
Daniel
More information about the upstart-devel
mailing list