Shutting down custom system services gracefully
If you are running a custom system service as an EGO service, you can specify a script to gracefully shut down service instances. There is also a configurable timeout parameter during which the system waits for the target instance to exit. The system kills the target instance if it is still running after the timeout expires. This feature is implemented by the JobController and ControlWaitPeriod parameters.