Matthew Marlowe
2004-Nov-03 13:41 UTC
[Asterisk-Users] Automatically restart asterisk if not running
I once found a script, I think it was on the mailing list that would run in crontab and restart asterisk if not running... Does anyone happen to have a copy of that? Thanks -- MBM
Brancaleoni Matteo
2004-Nov-03 15:28 UTC
[Asterisk-Users] Automatically restart asterisk if not running
Hi Il mer, 2004-11-03 alle 21:41, Matthew Marlowe ha scritto:> I once found a script, I think it was on the mailing list that would > run in crontab and restart asterisk if not running... Does anyone > happen to have a copy of that?I suggest you to use something like a superdaemon, ie a process (normally spawned by init) that checks other processes. I suggest you monit (http://www.tildeslash.com/monit/), it can monitor processes in various ways and other vital system informations. I'm pretty happy with it (using it in all my * installations) Matteo -- Brancaleoni Matteo <mbrancaleoni@espia.it> Espia Srl
Matt Riddell
2004-Nov-03 17:48 UTC
[Asterisk-Users] Automatically restart asterisk if not running
Matthew Marlowe wrote:> I once found a script, I think it was on the mailing list that would > run in crontab and restart asterisk if not running... Does anyone > happen to have a copy of that?The other option would be to run asterisk with: safe_asterisk instead of asterisk This will restart if it crashes/dies/leaves to go on holiday etc. -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)