[Erp5-report] r45639 luke - /erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Apr 22 14:21:48 CEST 2011


Author: luke
Date: Fri Apr 22 14:21:47 2011
New Revision: 45639

URL: http://svn.erp5.org?rev=45639&view=rev
Log:
Do not leave bogus logfile statement.

According to http://www.jimpryor.net/linux/crond.8 whenever dcron runs in
foreground it outputs logs only to stderr.

Modified:
    erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/__init__.py

Modified: erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/__init__.py
URL: http://svn.erp5.org/erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/__init__.py?rev=45639&r1=45638&r2=45639&view=diff
==============================================================================
--- erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/__init__.py [utf8] (original)
+++ erp5/trunk/utils/slapos.recipe.erp5/src/slapos/recipe/erp5/__init__.py [utf8] Fri Apr 22 14:21:47 2011
@@ -259,14 +259,13 @@ class Recipe(BaseSlapRecipe):
     timestamps = self.createDataDirectory('cronstamps')
     cron_d = os.path.join(self.etc_directory, 'cron.d')
     crontabs = os.path.join(self.etc_directory, 'crontabs')
-    logfile = os.path.join(self.log_directory, 'cron.log')
     self._createDirectory(cron_d)
     self._createDirectory(crontabs)
     wrapper = zc.buildout.easy_install.scripts([('crond',
       __name__ + '.execute', 'execute')], self.ws, sys.executable,
       self.wrapper_directory, arguments=[
         self.options['dcrond_binary'].strip(), '-s', cron_d, '-c', crontabs,
-        '-t', timestamps, '-L', logfile, '-f', '-l', '6', '-M', '/bin/true']
+        '-t', timestamps, '-f', '-l', '6', '-M', '/bin/true']
       )[0]
     self.path_list.append(wrapper)
     return cron_d



More information about the Erp5-report mailing list