[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What about static web pages that are periodically updated?



On Sun, May 15, 2005 at 11:46:14PM +0200, Pierre Habouzit wrote:
> Le Dim 15 Mai 2005 20:21, Tore Anderson a écrit :
> >   One of my packages, Munin, dynamically create or update a tree of
> >  static HTML and PNG files every five minutes.  These aren't precious
> > in any way, there's no data loss if you delete all of them - they'll
> > simply be recreated the next time the update process runs.
> >
> >   The current policy draft does not seem to have any suggestion for
> >  placement of this kind of files, it only says static files should go
> > in /usr/share but this doesn't suit my application as the files are
> > changed all the time.  They need to go under /var somewhere, the best
> > location is probably /var/cache but I'll leave it up to you to decide
> > on that.
> 
> this has to go in /var/cache since it's :
>  * variable
>  * not vital to the app (if you delete them the app still works)
> 
> You only have to read the FHS, it's really clear on how to use :
> 
>   /var/{lib,cache,spool}/$package
> 
> and for your case, there is really no hesitation to have.

Yup, added to policy v1.2

Cheers,
Neil
-- 
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?
gpg key - http://www.halon.org.uk/pubkey.txt ; the.earth.li B345BDD3

Attachment: signature.asc
Description: Digital signature


Reply to: