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)
_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome