Hi. I am looking for a way to detect when a service is restarting as
opposed to a regular stop. I am most interested in using this when a
RESTART action is triggered by a wrapper.filter.trigger property,
however it would also be useful when a service was restarted via the
windows services panel (restart button, not stop->start).
I can't seem to find a way to do this. Is there any way to detect when a
restart action is triggered, or alternatively, is there a way to specify
a custom action type for a trigger which would call a method other than
stop().
Thanks!
|