Hi Jeff,

The comments of David sound correct to me. 

Looking at your manifest I noticed something else. In your manifest you use 
/bin/true as the stop method exec. I assume that this is because there is no 
need to actual run any commands to disable the service. SMF also provides you 
with a :true: keyword as the stop method exec. 

:true: will tell SMF that there is no actual stop method to be run and it will 
make SMF just change the service state in the database. Using :true: instead of 
/bin/true will spare the system from issueing a fork(2) and exec(2) system 
calls which will improve performance a little.

Likewise :kill: can be used instead of a pkill <processname> stop method exec 
string.

Greetings,
Peter
 
 
This message posted from opensolaris.org

Reply via email to