Louwtjie Burger wrote: >> May I ask why the exec version that doesn't use the '&' is not acceptable? > I get... > > Nov 13 12:55:18 x4100-1 svc.startd[7]: [ID 122153 daemon.warning] > svc:/application/mysql5:default: Method or service exit timed out. > Killing contract 745.
In case it isn't totally obvious, the problem is that the start method is never returning. Start methods are supposed to return reasonably promptly with an indication that they have successfully started their service. Question for the real SMF experts (as opposed to people like me who know enough to be dangerous :-) : Is there a way to have a really simple service, one that is assumed to be online and healthy as soon as it's started and unhealthy if it ever exits? Something along the lines of init's "respawn" mode. Or would it work to have start="myprog& exit 0" and stop=":kill"?