Hi,

I have a script running as a service (using srvany.exe)
It runs fine and stops fine.

I want the script to run a few more commands when:
1. i stop the service
2. when the service crashes

Can anyone point me in the right direction (with examples maybe...)