Raise events during application life cycle
ServiceMill lets you execute custom programs (batch file, scripts or programs dependencies,...) at different points during the application life cycle:
- "When the service starts", the event called by the service at starting time.
- "When the application is about to be started", the event called by the service just before launching the application.
- "When the application has been started", the event called by the service when the application has just been started.
- "When the application teminates unexpectedly", the event called by the service when the application is not stopped by ServiceMill.
- "When the service is about to be stopped", the event called by the service when it is about to be stopped while the application remains alive.
- "When the application is about to be stopped", the event called by the service just before it tries to close the application.
- "When the application has stopped", the event called by the service when the application has just been stopped.