[Tilesathome] deleting temp folder (was Problem under windows again)
Florian Lohoff
flo at rfc822.org
Wed Aug 20 19:43:47 BST 2008
On Mon, Aug 11, 2008 at 12:01:36AM +0200, Peter Walser wrote:
> This is not only a windows issue.
> For me as a linux user is it even more important, because the temp
> folder is deleted on boot per default (which is a good thing usually).
> My personal workaround on linux is to copy the version.txt file
> on /etc/init.d/tiles-gen-client stop to the tilesAtHome folder and copy
> it back when /etc/init.d/tiles-gen-client start is executed.
> I agree, that the file version.txt has to be in the tilesAtHome folder
> and not in the temp folder.
The whole working directory handling might need an think. I'd like to
have a directory per job - probably with the x/y in the name and a pid
or something. All files generated should stay in there - probably even
the verbose logfile for this specific tile. You only ever delete the
files if the job rendered successfully or the user decides it should not
keep temp files on fail.
It would be good to have all informations temp files svgs etc in case
something failes. Think of the gcc --save-temps.
Might also solve the multiple instances in same directory ...
Flo
--
Florian Lohoff flo at rfc822.org +49-171-2280134
Those who would give up a little freedom to get a little
security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080820/04ecfef7/attachment.pgp>
More information about the Tilesathome
mailing list