Anope IRC Services

Anope Development => Feature Requests => Topic started by: shaiful on May 15, 2006, 02:39:58 AM

Title: anope win32 services unrealircd
Post by: shaiful on May 15, 2006, 02:39:58 AM
I hope this is the correct place to post.

how to make the anope service to auto-connect after pto(ping time out) or such
Title:
Post by: dragoonkain on May 15, 2006, 06:56:46 PM
I had a problem with this as well. However, I don't think it's doable in the form of a module.

In UNIX they have often suggested setting up a CRON job to handle this (a service tries to run Anope every so often and if it's not already running, then it will run a new instance that will connect blah blah).

I've always thought that Anope should run, and upon disconnect just sit in a mode where it will continue to try to connect upon disconnection (either forever or for a certain number of retries that can be specified in a conf directive).  However, without modifying Anope's source code this isn't currently possible.

For now though, if you're using UNIX just try the CRON thing, they have a script example in some directory (somebody else will have to tell you this).  If you're using Windows you may be able to set up a Scheduled Task. Enh. there are also some 3rd party tools.

-Kain