Seema Alevoor wrote:

> SMF service should be the recommended way. But, user would still be able to
> start the server using apachectl script. If we support only SMF, then
> we should use SMF property setting.

I think the issue is what interface we support. The only *supported* interface 
for starting/stopping the Apache daemon on OpenSolaris should be SMF.

We could probably do something like this:
* Rename the existing apachectl to apachectl.private (or something)
* Add our version of apachectl that simply invokes SMF's svcadm
* 'svcadm enable/disable apache2' would invoke apachectl.private to start/stop 
the server

This way, the SMF property setting is the only one that need be used (to select 
prefork vs worker) regardless of whether the user invoked apachectl or svcadm.

Arvind

Reply via email to