>I'm trying to write a SMF manifest for a DDNS client (inadyn), but for
>some reason, svc.startd fails to notice that the daemon has started, and
>I have no clue how to tell it which process it is or find out what is
>going wrong.


Are you absolutely positive the process has started?

A process must remain running or the service will be marked stopped.



>So, the questions are:
>- How do svc.startd decide if a process is in the service?

Process started are put in a contract; all child processes end up in
the same contract.

>- Is there a way to find out what is going wrong?

Add output in your script which notes exactly what it does
(perhaps the way svc.startd starts the script will make pgrep
return success or the empty environment upsets your client)

Casper


Reply via email to