On Thu, Apr 22, 2004, Aaron Bostick wrote:

> I am using the openpkg cfengine package and noticed the startup script does
> not have start/stop capability for the cfservd and cfenvd processes.  I
> created one that does this but I do know how portable it is.  I use base os
> ps, grep, and awk to create the process pid files since these programs do
> not do this on their own.
> [...]

The "ps" fiddling is not portable enough. But I was able to workaround
this by using a combination of nohup(1) and cfservd --no-fork.
See http://cvs.openpkg.org/chngview?cn=16172 for details.
Thanks for your contribution.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to