X-Git-Url: http://git.freeside.biz/gitweb/?p=iceplex.git;a=blobdiff_plain;f=iceplexd;h=2904be1364fbb79b6ad21cbfad270afdbd98da09;hp=1f1c293970f3f4b6f494571182c3abcd15d0188a;hb=7d0906c0b1eb4df0a66371268317e07802abaa2b;hpb=f447e74c146d83b9348ed3dcb32104d2b2991ac9 diff --git a/iceplexd b/iceplexd index 1f1c293..2904be1 100644 --- a/iceplexd +++ b/iceplexd @@ -1 +1,27 @@ #!/usr/bin/perl +# +# iceplexd +# +# Copyright (c) 2003 Ivan Kohler +# All rights reserved. +# This program is free software; you can redistribute it and/or modify it under +# the same terms as Perl itself. + +# TODO, fake it for now :) + +# daemonize + +while (1) { + + # select all servers + # SELECT * FROM iceplex_servers + + foreach my $server ( @servers ) { + #ping , set status + # ask # of listeners + #update database + + } + +sleep 5; +}