[Tilesathome] Some questions on client behaviour

Dirk Stöcker openstreetmap at dstoecker.de
Wed Nov 19 07:47:19 GMT 2008


On Tue, 18 Nov 2008, Matthias Julius wrote:

> If you want to restart the client without killing it first you can do
> "touch tilesGen.pl".  The client restarts itself when it detects that
> this file has changed.
>
> The test for a changed config file is somewhere on my todo list.

       my $tim = (stat $OPTS{configfile})[9];
       $OPTS{configtime} = $tim if !$OPTS{configtime};
       if($OPTS{configtime} != $tim)
       {
         printerr("Configuration file changed, restarting.\n");
         INT_handler();
       }

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the Tilesathome mailing list