Commit d75550f9 authored by Łukasz Nowak's avatar Łukasz Nowak

- just a bit of formatting

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45632 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 92792670
No related merge requests found
......@@ -98,7 +98,8 @@ class Recipe(BaseSlapRecipe):
"include %s" % logrotate_d)
logrotate_cron = os.path.join(self.cron_d, 'logrotate')
state_file = os.path.join(self.data_root_directory, 'logrotate.status')
open(logrotate_cron, 'w').write('0 0 * * * %s -s %s %s' % (self.options['logrotate_binary'], state_file, logrotate_conf))
open(logrotate_cron, 'w').write('0 0 * * * %s -s %s %s' %
(self.options['logrotate_binary'], state_file, logrotate_conf))
self.path_list.extend([logrotate_d, logrotate_conf, logrotate_cron])
return logrotate_d
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment