[IRCServices] Services
Harhalakis Stefanos
v13 at it.teithe.gr
Sun Jan 9 14:18:48 PST 2000
On Sat, 8 Jan 2000, The Phantom of the Internet wrote:
> I only see one problem with this round-robin effect for services. The
> current coding has services shut back down if there is an error where it is
> unable to connect to the specified server. Now if services somehow hits the
> ip address on this round-robin which is down then it will shut down and wait
> to retry until the next cron job. Which depending on the Admin who set this
> situation up could be anywhere from 5-30 minutes.
You don't have to use cron. You can have a script like:
while /bin/true; do
./services -nofork
done
or make it as complex as you like. This way services will restart
immediately after dying.
> The Phantom
<<V13>>
---------------------------------------------------------------
To unsubscribe, send email to majordomo at ender.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.