about summary refs log tree commit diff
path: root/cgitrc
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-05-14 23:40:33 +0200
committerLars Hjemli <hjemli@gmail.com>2007-05-14 23:40:33 +0200
commit5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39 (patch)
tree5c844c0ba53cfd2e838368ffbbd4583ac63d3608 /cgitrc
parentLet makefile override the configfile location (diff)
downloadcgit-pink-5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39.tar.gz
cgit-pink-5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39.zip
Add include-parameter to config files
This parameter can be used to include another config-file, like
a standalone repository listing.

Suggested in a patch by Kristian Høgsberg <krh@bitplanet.net>

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--cgitrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/cgitrc b/cgitrc
index 019781e..e7e731c 100644
--- a/cgitrc
+++ b/cgitrc
@@ -63,8 +63,11 @@
 #cache-root=/var/cache/cgit
 
 
+## Include another config-file
+#include=/var/cgit/repolist
+
 ##
-## Time-To-Live settings: specifies how long (in minutes) different pages 
+## Time-To-Live settings: specifies how long (in minutes) different pages
 ## should be cached (0 for instant expiration, -1 for immortal pages)
 ##
 
@@ -74,7 +77,7 @@
 ## ttl for repo summary page
 #cache-repo-ttl=5
 
-## ttl for other dynamic pages 
+## ttl for other dynamic pages
 #cache-dynamic-ttl=5
 
 ## ttl for static pages (addressed by SHA-1)