On Fri, Aug 13, 2004, Alexander Belck wrote:

> Why OpenPKG decided not to use apachectl ?

Hmmm... well, although I'm one of the Apache developers, I never got
used to "apachectl" myself ;-) At least OpenPKG's rc.apache provides
mostly the same functionality, so using "apachectl" is of no great
advantage (except certainly for the feature you meantion below).

> So far I rad and understand, its realy similar, but apachectl does a configtest
> befor trying to stop and start / reload to avoid braking a running apache with
> a mistake in a new configuration.

That's a good suggestion: OpenPKG-CURRENT's rc.apache now performs the
"apache -t" checks on %restart and %reload and stops processing if
the check fails. Additionally, I've now changed the %reload to signal
"apache" with SIGUSR1 (graceful restart) instead of SIGHUP (forced
restart) because for a forced restart we actually already have %restart
(although it does it via "stop start", but that's fine).

Thanks for your feedback.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

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

Reply via email to