SOURCES: mysar-cron.patch (NEW), mysar-smarty_path.patch (NEW) - new

adamg adamg at pld-linux.org
Thu Sep 13 13:12:09 CEST 2007


Author: adamg                        Date: Thu Sep 13 11:12:09 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   mysar-cron.patch (NONE -> 1.1)  (NEW), mysar-smarty_path.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mysar-cron.patch
diff -u /dev/null SOURCES/mysar-cron.patch:1.1
--- /dev/null	Thu Sep 13 13:12:09 2007
+++ SOURCES/mysar-cron.patch	Thu Sep 13 13:12:04 2007
@@ -0,0 +1,17 @@
+--- mysar/etc/mysar.cron~	2007-08-17 11:05:19.000000000 +0200
++++ mysar/etc/mysar.cron	2007-09-13 12:49:57.000000000 +0200
+@@ -1,11 +1,11 @@
+ # mysar not only runs every minute but it also expects to be run every minute.
+ # If you wish to change this, you need to adjust not only the cron entries below but also the $maxRunTime inside bin/mysar-importer.php
+-* * * * *	root	/usr/local/mysar/bin/mysar-resolver.php > /usr/local/mysar/log/mysar-resolver.log 2>&1
+-0 0 * * *	root	/usr/local/mysar/bin/mysar-maintenance.php > /usr/local/mysar/log/mysar-maintenance.log 2>&1
++* * * * *	root	/usr/share/mysar/bin/mysar-resolver.php > /var/log/mysar/mysar-resolver.log 2>&1
++0 0 * * *	root	/usr/share/mysar/bin/mysar-maintenance.php > /var/log/mysar/mysar-maintenance.log 2>&1
+ 
+ # IMPORTER
+ ## PHP - Slow but tested. The defult choice, for now.
+-* * * * *	root	/usr/local/mysar/bin/mysar-importer.php > /usr/local/mysar/log/mysar-importer.log 2>&1
++* * * * *	root	/usr/share/mysar/bin/mysar-importer.php > /var/log/mysar/mysar-importer.log 2>&1
+ 
+ ## Binary. Fast but untested. Needs compile. Check README.
+ #* * * * *	root	/usr/local/bin/mysar > /usr/local/mysar/log/mysar-importer.log 2>&1

================================================================
Index: SOURCES/mysar-smarty_path.patch
diff -u /dev/null SOURCES/mysar-smarty_path.patch:1.1
--- /dev/null	Thu Sep 13 13:12:09 2007
+++ SOURCES/mysar-smarty_path.patch	Thu Sep 13 13:12:04 2007
@@ -0,0 +1,22 @@
+--- mysar/inc/common.inc.php~	2007-08-17 11:05:19.000000000 +0200
++++ mysar/inc/common.inc.php	2007-09-13 11:12:04.000000000 +0200
+@@ -75,7 +75,7 @@
+ 	require($basePath.'/inc/smarty/Smarty.class.php');
+ 	$smarty=new Smarty;
+ 	$smarty->template_dir=$basePath.'/www-templates';
+-	$smarty->compile_dir=$basePath.'/smarty-tmp';
++	$smarty->compile_dir='/var/lib/mysar/smarty-tmp';
+ 	$smarty->debugging = false;
+ }
+ 
+--- mysar/www/install/index.php~	2007-08-17 11:05:19.000000000 +0200
++++ mysar/www/install/index.php	2007-09-13 11:11:38.000000000 +0200
+@@ -706,7 +706,7 @@
+ 
+ 		break;
+ 	case 'new4':
+-		$smarty_tmp_dir=$basePath.'/smarty-tmp';
++		$smarty_tmp_dir='/var/lib/mysar/smarty-tmp';
+ 		echo 'Checking where smarty template cache directory is writeable...';
+ 		$result1=touch($smarty_tmp_dir.'/mysar.install.test');
+ 		$result2=unlink($smarty_tmp_dir.'/mysar.install.test');
================================================================


More information about the pld-cvs-commit mailing list