diff --git a/stack/resilient/buildout.cfg b/stack/resilient/buildout.cfg index 7c190e7cf20ace72188fe9bf2809d572595026f8..c7b29be457b6fc51d447348cc0c8b404faeaed5f 100644 --- a/stack/resilient/buildout.cfg +++ b/stack/resilient/buildout.cfg @@ -41,7 +41,7 @@ eggs = recipe = slapos.recipe.template url = ${:_profile_base_location_}/pbsready.cfg.in output = ${buildout:directory}/pbsready.cfg -md5sum = 6e3bd92750407c8d6eaffde2fc94d000 +md5sum = d1b817ec1bc2527dfb540ba51e9df0b4 mode = 0644 [pbsready-import] @@ -50,7 +50,7 @@ mode = 0644 recipe = slapos.recipe.template url = ${:_profile_base_location_}/pbsready-import.cfg.in output = ${buildout:directory}/pbsready-import.cfg -md5sum = 8b4d5288f18b5404a8d87279e5dd1fde +md5sum = df9e3c485b7f142d87d58dbb29b88a59 mode = 0644 [pbsready-export] @@ -59,7 +59,7 @@ mode = 0644 recipe = slapos.recipe.template url = ${:_profile_base_location_}/pbsready-export.cfg.in output = ${buildout:directory}/pbsready-export.cfg -md5sum = 195ab54f73883d150e45cd3339b91 +md5sum = d58c69291fd492241f297c5a1b1160f2 mode = 0644 [template-pull-backup] diff --git a/stack/resilient/pbsready-export.cfg.in b/stack/resilient/pbsready-export.cfg.in index fb69b533444ec27149949b3acc56124aea8a8974..cee5dd587f1d7ec2378f5746596ab267adeaf616 100644 --- a/stack/resilient/pbsready-export.cfg.in +++ b/stack/resilient/pbsready-export.cfg.in @@ -8,6 +8,7 @@ parts = logrotate logrotate-entry-cron logrotate-entry-equeue + logrotate-entry-resilient cron cron-entry-logrotate resilient-sshkeys-authority diff --git a/stack/resilient/pbsready-import.cfg.in b/stack/resilient/pbsready-import.cfg.in index afa5ca678fa859bdea4bd94e9f367d1d6a520e13..bb17677ae75267863b3deac15fbb224f081d243e 100644 --- a/stack/resilient/pbsready-import.cfg.in +++ b/stack/resilient/pbsready-import.cfg.in @@ -9,6 +9,7 @@ parts = logrotate-entry-cron logrotate-entry-equeue logrotate-entry-notifier + logrotate-entry-resilient cron cron-entry-logrotate resilient-sshkeys-authority diff --git a/stack/resilient/pbsready.cfg.in b/stack/resilient/pbsready.cfg.in index e34439db1400563bcdc2d037a2cc16044ce54665..e3bd9f76687fbbeac357e62893c4470117a18150 100644 --- a/stack/resilient/pbsready.cfg.in +++ b/stack/resilient/pbsready.cfg.in @@ -5,6 +5,7 @@ parts = logrotate-entry-cron logrotate-entry-equeue logrotate-entry-notifier + logrotate-entry-resilient cron cron-entry-logrotate resilient-sshkeys-authority @@ -140,6 +141,14 @@ input = inline: } output = $${logrotate:logrotate-entries}/notifier +[logrotate-entry-resilient] +<= logrotate +recipe = slapos.cookbook:logrotate.d +name = resilient_log +log = $${basedirectory:log}/resilient.log +frequency = weekly +rotate-num = 7 + #---------------- #-- #-- Sets up an rdiff-backup server (with a openssh server for ssh)