I have an app that I need to autostart when the OS starts. I am running in a CentOS 6, so I am using a LSB init script placed in
/etc/init.d. So far this is fine and working.
Now....besides that, what I would like is that if my app crashes (exits with error), I want that it automatically starts again. Ideally, even defining a max number of tries. In Mac's Info.plist there are the keys
Since I already have
chkconfig working, I was wondering if there is something I could do with it.
I know there is http://mmonit.com/monit/ but it may be too much for what I need.