This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
tessa1
- Halfop
- Posts: 49
- Joined: Mon Apr 18, 2005 12:51 pm
- Location: Germany
Post
by tessa1 »
Hi,
My idea: We've two HUB-Servers in our network
If the first HUB-Server is going down with its services, the software displays a servernotice, that the server has left the network.
Is it now possible to start the services on the backup-HUB with a eggdrop script?
the command to start the services is ./services
and the path to the services folder is /var/www/IRC/HUB/services
Greetz tessa
-
demond
- Revered One
- Posts: 3073
- Joined: Sat Jun 12, 2004 9:58 am
- Location: San Francisco, CA
-
Contact:
Post
by demond »
Code: Select all
bind raw - NOTICE foo
proc foo {f k t} {
scan $::server {%[^:]:} s
if {$f == $s && [string match "*services*down*" $t]} {
exec /var/www/IRC/HUB/services/services
}
}
-
tessa1
- Halfop
- Posts: 49
- Joined: Mon Apr 18, 2005 12:51 pm
- Location: Germany
Post
by tessa1 »
many thanks