Displaying 1 result from an estimated 1 matches for "check_icecast".
2004 Aug 06
3
Propping up liveice
...it doesn't
deal with lame correctly. So I wrote a script to resurrect liveice when
needed. It is very specific to our setup, because it expects a certain
number of process ids (threads) to be there. Root runs this every five
minutes via cron like this:
*/5 * * * * /usr/local/icecast/bin/check_icecast
We now average about 60 seconds of downtime a month, and I can leave the
server totally unattended. I hope this is of use to someone else, and I
welcome any suggestions. Here's the script:
#!/bin/sh
#
# check_icecast
#
# This script ensures that icecast, liveice, and lame are alive, and
#...