David.Comay at Sun.COM wrote: >> Jyri - Are we allowed to do the following - add new commands to >> apachectl like so that users can start the server either in prefork or >> in worker MPM. >> apachectl start -> to start in prefork mode. >> apachectl start-worker -> to start in worker mode (this should be >> considered as extension to existing apachectl interface) >> >> with respect to SMF, customers will need to use svcs prop to switch >> between prefork and worker MPM. >> > > Unless the Apache distribution itself contains a configuration method > for choosing between prefork or worker, how about using svcprop(1) in > *all* cases for configuring this behavior with the default being > prefork for compatibility reasons? > > > Ok.
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 thanks sriram
