httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: svn commit: r885606 - /httpd/httpd/trunk/build/rpm/httpd.init
Date Tue, 01 Dec 2009 14:24:08 GMT
William A. Rowe Jr. wrote:

> Is it reasonable to simply provision apachectl as httpd.init, perhaps even
> as a symlink?

Unfortunately not, no.

Redhat provides a library of functions to be used by startup scripts
that daemonise processes, keep track of pids, and do all the cute
displaying of "OK" or "Failed", and make the "service" command work
properly.

Apachectl, while similar to Redhat's init script, has different
semantics when faced with "restart", and the standard Redhat setup
doesn't work at all.

We would either need to change apachectl to work like Redhat (triggering
a storm of protest from people who do use apachectl and would ask "if it
wasn't broken why did you fix it"), or change Redhat to work like
apachectl (not worth the effort).

Regards,
Graham
--

Mime
View raw message