Gilles Chanteperdrix wrote:
> Stéphane ANCELOT wrote:
>>I tried it, but did not help, I manged to do the trick using 
> If I understand correctly the problem you have, it is not related at all
> with Xenomai. What you want is to make your application a real daemon.
> The easy way to do this is to call the glibc function named "daemon" the
> hard way is to call fork twice, call setsid and setpgrp.
> start-stop-daemon will not do the trick.

It is enough to fork only once, to call setsid in the child and call
_exit in the father. That is what the daemon function does. Anyway, this
is basic unix knowledge, for which you will get more acurate details at
other places.

                                                 Gilles Chanteperdrix

Xenomai-core mailing list

Reply via email to