"reboot" won't go thru the shutdown scripts.  However, shutdown
should.  I usually put in a little msg in my method for stop, like
"service shutting down".  If the service goes thru shutdown nicely, at
the next boot, you should be able to see the "service shutting down"
msg in the /var/svc/log/service.log, and the timestamp.  Then you know
that the service did go thru the stop method, and the problem you have
with mail or notifications is somewhere else.

CT

On Mon, Oct 27, 2008 at 12:03 PM, Robin <ziyunxiao at gmail.com> 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
>

Reply via email to