Maybe this document might help you: "SMF in Solaris 10" - 
http://www.sun.com/blueprints/0206/819-5150.pdf 
Look at section "Creating a New SMF Service", sub-section "Constructing a 
New SMF Service - An Example".

I think an easier way is to have apache running as legacy_run. However, I 
don't remember anymore where I read how to do it. 




Umar Draz <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
05/02/2006 03:42 AM
Please respond to
Solaris-Users mailing list <[email protected]>


To
[email protected]
cc

Subject
[Solaris-Users] svcadmin startup script






hi dear members!

 i have compile apahce 1.3.34 on Solaris 10_x86

 for starting apache i manually run this command

/usr/local/apache/bin/apachectl start

and for restart

/usr/local/apache/bin/apachectl graceful

and for stop

/usr/local/apache/bin/apachectl stop

now i want start,restart,stop script with svcadmin so please help me how i 
can create this script with svcadmin?

Regards,

Umar Draz

 
---------------------------------
Get amazing travel prices for air and hotel in one click on Yahoo! 
FareChase 
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to