I am trying to make a non-transient service offline. I wrote an SMF and using a method to start/stop the service. In the method based on a condition I am starting the service if not don't start and exiting.
I tried using the exit code $SMF_EXIT_MON_OFFLINE but the service goes into maintenance state. SMF_EXIT_MON_OFFLINE 98 Monitor assesses service instance as non-responsive and effectively offline. Any ideas? - JNR. This message posted from opensolaris.org