On Fri, Sep 07, 2007 at 06:19:43PM -0700, Sriram Natarajan wrote:
> But, do you see any issue with still patching apachectl script to 
> internally invoke SMF commands like svcadm enable / disable and moving 
> the actual implementation of starting / stopping to 
> /lib/svc/method/http-apache2 script
> 
The more you want to patch apachectl, the more you risk affecting those
who use it expecting apachectl to be apachectl.
I thing you could do all that needs to be done in the svc method script
and let it either wrap apachectl or call the httpd binary directly.
Or if you do insist on hacking on apachectl, then at least make sure it
doesn't make any of the current methods behave differently. If you need
methods that behave differently, then at least name them such that there
will be no confusion.

vh

Mads Toftum
-- 
http://soulfood.dk

Reply via email to