[Fusionforge-commits] r9268 - in trunk/gforge: deb-specific etc/templates

Christian Bayle cbayle at libremir.placard.fr.eu.org
Mon Mar 29 10:27:31 CEST 2010


Author: cbayle
Date: 2010-03-29 10:27:31 +0200 (Mon, 29 Mar 2010)
New Revision: 9268

Added:
   trunk/gforge/etc/templates/database.py
Modified:
   trunk/gforge/deb-specific/gforge-config
Log:
 Add database.py for mailman db backend


Modified: trunk/gforge/deb-specific/gforge-config
===================================================================
--- trunk/gforge/deb-specific/gforge-config	2010-03-29 08:01:04 UTC (rev 9267)
+++ trunk/gforge/deb-specific/gforge-config	2010-03-29 08:27:31 UTC (rev 9268)
@@ -21,6 +21,12 @@
 [ -f /etc/gforge/database.inc ] && chown gforge:gforge /etc/gforge/database.inc
 [ -f /etc/gforge/database.inc ] && chmod 640 /etc/gforge/database.inc
 
+if getent group list
+then
+	[ -f /etc/gforge/database.py ] && chgrp list /etc/gforge/database.py
+fi
+[ -f /etc/gforge/database.py ] && chmod 640 /etc/gforge/database.py
+
 [ -f /etc/gforge/local.pl ] && chmod go+rx /etc/gforge
 [ -f /etc/gforge/local.pl ] && chown gforge:gforge /etc/gforge/local.pl
 [ -f /etc/gforge/local.pl ] && chmod 640 /etc/gforge/local.pl

Added: trunk/gforge/etc/templates/database.py
===================================================================
--- trunk/gforge/etc/templates/database.py	                        (rev 0)
+++ trunk/gforge/etc/templates/database.py	2010-03-29 08:27:31 UTC (rev 9268)
@@ -0,0 +1,6 @@
+# PLEASE DO NOT REMOVE THIS LINE
+sys_dbhost="{db_host}";
+sys_dbname="{db_name}";
+sys_dbuser="{db_user}";
+sys_dbpasswd="{db_password}";
+sys_ldap_passwd="{ldap_web_add_password}";




More information about the Fusionforge-commits mailing list