Am Montag, 20. März 2006 19:28 schrieb Ralf S. Engelschall:
> On Mon, Mar 20, 2006, Bernhard Reiter wrote:
> > Am Montag, 20. März 2006 13:32 schrieb Bernhard Reiter:

> > Well this was a bad example because of the backgrounding,
> > but in rc.openldap the exit codes seem to be lost:
> >
> > E.g. the exit code for slurpd:
> >
> >  if [ $? -ne 0 ]; then
> >         /kolab/libexec/openldap/slurpd
> >     fi
> >
> > but also the one before for slapd.
>
> Done: http://cvs.openpkg.org/chngview?cn=27814

Thanks!
Doing this explicitely with both slapd and slurpd is the right thing,
though with slurpd it might already be working, if it is the last command
executed.

> > I suggest adding checks for the exit codes for this daemons.
> > Probably all rc.* scripts need an audit if exit codes are lost.
>
> I'll have a look.

Wonderful!

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to