[sylvain] r51014 - silvadoccenter/trunk/source

[email protected]
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
Author: sylvain
Date: Mon Aug  5 11:30:42 2013
New Revision: 51014

Modified:
   silvadoccenter/trunk/source/buildout.rst
Log:
Add a note about cleaning the upload directory.


Modified: silvadoccenter/trunk/source/buildout.rst
==============================================================================
--- silvadoccenter/trunk/source/buildout.rst	(original)
+++ silvadoccenter/trunk/source/buildout.rst	Mon Aug  5 11:30:42 2013
@@ -119,6 +119,19 @@
 When finished the command ``bin/paster`` will be available. It will let
 you start and use Silva: :ref:`starting-creating-silva-site`.
 
+.. note::
+
+   Silva 3.x uses a temporary directory to upload files, located by
+   default inside the buildout directory (in ``var/uploads``). You
+   might want to clean it now and then. On unix systems you can use
+   the following command inside a crontab in order to do it ($buildout
+   refers to the buildout directory):
+
+   .. code-block:: sh
+
+      find $buildout/var/uploads -type d -ctime +1 -prune -print0 | xargs -n 1 -0 rm -rf
+
+
 Available configurations
 ~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -152,6 +165,7 @@
    A Buildout configuration that is extended might called a Buildout
    profile.
 
+
 Extending your installation
 ---------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.