Quoth Brian Utterback on Fri, Apr 27, 2007 at 01:18:13PM -0400: > Okay, now I am a bit confused. What I want is for my daemon to exit, > marking the service as in maintenance mode and for the daemon to not > be restarted. Rebooting should but everything back to normal. So, > do I use smf_maintain_instance or smf_disable_instance or both, with > SMF_IMMEDIATE or SMF_TEMPORARY or both flags. And should I exit, or > wait for SMF to kill the daemon. Or should I use smf_get_state to > test the stae before exiting on my own?
Why do you want your service to appear in the maintenance state? David