Hi, You can use daemontools. You can find information on that site: http://cr.yp.to/daemontools.html.
It does exactly what you ask. I have used daemontools for restarting automatically a python application. Ben 2009/6/26 Suno Ano <suno....@sunoano.org> > > Jesus> Hello, I created an aplication with Mono to test a hardware, but > Jesus> I need to create a service to run this aplication, the problem > Jesus> is that I need that if this service go down it has to go up > Jesus> itself. Someone knows how can I make it or where can i get some > Jesus> help? > > yes, you want to monitor it and restart it automatically if it, for some > reason, goes belly-up. There http://supervisord.org/ you go. >