If there is a critical service that I need to:
- restart immediately upon failure
- alert admin via email
- trace the log of the restarts
How can it be done?
Currently, i am doing it this way... but not sure if it works.
A failure did happen, but i do not know where to trace the log. It seems like it didn't start immediately.