Hi, I'm testing a smf wrapper that I wrote. After "svcadm enable ..." was issued, I saw repeated messages in the smf log file:
[ Sep 24 19:24:29 Method "start" exited with status 0. ] [ Sep 24 19:24:29 Stopping because all processes in service exited. ] [ Sep 24 19:24:29 Executing stop method (:kill). ] [ Sep 24 19:24:29 Restarting too quickly, changing state to maintenance. ] And it finally got into the maintenance state. The program that the SMF start method calls is a daemon, which will return but still running in the background. I guess maybe the SMF services simply check if the program exits or not? How can I tell SMF framework about this so that it won't execute the stop method? Thanks. -- Huafeng