'reboot' doesn't do a clean shutdown, it will just kill your processes. 'shutdown' does a clean shutdown that is it will stop the services in reverse order. So, if robinsrv is supposed to send an email when it is stopped and it has the appropriate dependencies (I suppose it should have at least a dependency on sendmail to be able to send emails) then it should work.
-- Renaud Robin wrote: > There is a little misunderstanding. My service robinsrv is supposed to send > an email when before it quit. But when root issues "reboot" or "shutdown" > command, I don't receive the email. robinsrv itself should give me an email. > > robin > -- > This message posted from opensolaris.org > _______________________________________________ > smf-discuss mailing list > smf-discuss at opensolaris.org