[Fusionforge-commits] r11518 - in trunk/src/plugins/forumml: bin packaging/dirs

Christian Bayle cbayle at libremir.placard.fr.eu.org
Thu Nov 11 18:19:21 CET 2010


Author: cbayle
Date: 2010-11-11 18:19:21 +0100 (Thu, 11 Nov 2010)
New Revision: 11518

Modified:
   trunk/src/plugins/forumml/bin/installFF.sh
   trunk/src/plugins/forumml/bin/mail_2_DB.pl
   trunk/src/plugins/forumml/bin/mail_2_DBFF.pl
   trunk/src/plugins/forumml/packaging/dirs/plugin-forumml
Log:
Reorganize forumml hook log


Modified: trunk/src/plugins/forumml/bin/installFF.sh
===================================================================
--- trunk/src/plugins/forumml/bin/installFF.sh	2010-11-11 17:07:31 UTC (rev 11517)
+++ trunk/src/plugins/forumml/bin/installFF.sh	2010-11-11 17:19:21 UTC (rev 11518)
@@ -5,9 +5,8 @@
 echo "#"
 
 ## Chown ForumMl temp and data dir
-touch /var/log/gforge/forumml_hook.log
-chown root.list /var/log/gforge/forumml_hook.log
-chmod 664 /var/log/gforge/forumml_hook.log
+chown root.list /var/log/gforge/forumml
+chmod 775 /var/log/gforge/forumml
 chown gforge.gforge /var/spool/forumml /var/lib/gforge/forumml
 chown gforge.gforge /usr/share/gforge/plugins/forumml/bin/mail_2_DBFF.pl
 chmod 06755 /usr/share/gforge/plugins/forumml/bin/mail_2_DBFF.pl

Modified: trunk/src/plugins/forumml/bin/mail_2_DB.pl
===================================================================
--- trunk/src/plugins/forumml/bin/mail_2_DB.pl	2010-11-11 17:07:31 UTC (rev 11517)
+++ trunk/src/plugins/forumml/bin/mail_2_DB.pl	2010-11-11 17:19:21 UTC (rev 11518)
@@ -42,7 +42,7 @@
 $ENV{'PATH'} = '/usr/bin:/bin';
 
 # Hook log file
-my $logfile = "/var/log/codendi/forumml_hook.log";
+my $logfile = "/var/log/gforge/forumml/hook.log";
 
 # Redirect outputs
 open STDOUT, ">>", $logfile or die "cannot append to '$logfile': $!\n";

Modified: trunk/src/plugins/forumml/bin/mail_2_DBFF.pl
===================================================================
--- trunk/src/plugins/forumml/bin/mail_2_DBFF.pl	2010-11-11 17:07:31 UTC (rev 11517)
+++ trunk/src/plugins/forumml/bin/mail_2_DBFF.pl	2010-11-11 17:19:21 UTC (rev 11518)
@@ -43,7 +43,7 @@
 my $debug;
 open ( $debug , '>> /tmp/debugperl' );
 # Hook log file
-my $logfile = "/var/log/gforge/forumml_hook.log";
+my $logfile = "/var/log/gforge/forumml/hook.log";
 
 # Redirect outputs
 open STDOUT, ">>", $logfile or die "cannot append to '$logfile': $!\n";

Modified: trunk/src/plugins/forumml/packaging/dirs/plugin-forumml
===================================================================
--- trunk/src/plugins/forumml/packaging/dirs/plugin-forumml	2010-11-11 17:07:31 UTC (rev 11517)
+++ trunk/src/plugins/forumml/packaging/dirs/plugin-forumml	2010-11-11 17:19:21 UTC (rev 11518)
@@ -6,3 +6,4 @@
 var/spool/forumml
 var/lib/gforge/forumml
 var/log/gforge
+var/log/gforge/forumml




More information about the Fusionforge-commits mailing list