Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
73
Merge Requests
73
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
8b8afc35
Commit
8b8afc35
authored
Jan 30, 2017
by
Alain Takoudjou
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logrotate stack: rotate cron log
parent
2ff5c570
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
buildout.cfg
stack/logrotate/buildout.cfg
+1
-1
instance-logrotate-base.cfg.in
stack/logrotate/instance-logrotate-base.cfg.in
+11
-0
No files found.
stack/logrotate/buildout.cfg
View file @
8b8afc35
...
...
@@ -11,7 +11,7 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/${:filename}.in
rendered = ${buildout:directory}/${:filename}
filename = instance-logrotate-base.cfg
md5sum =
af19ff0c7817df85987c69738fb083f2
md5sum =
4f940a5b5a6abac039738b45633c709c
context =
key dcron_location dcron:location
key gzip_location gzip:location
...
...
stack/logrotate/instance-logrotate-base.cfg.in
View file @
8b8afc35
[buildout]
parts =
cron-entry-logrotate
logrotate-entry-cron
[cron]
recipe = slapos.cookbook:cron
...
...
@@ -34,6 +35,16 @@ name = logrotate
frequency = 0 0 * * *
command = ${logrotate:wrapper}
[logrotate-entry-base]
recipe = slapos.cookbook:logrotate.d
logrotate-entries = ${logrotate:logrotate-entries}
backup = ${logrotate-directory:backup}
[logrotate-entry-cron]
<= logrotate-entry-base
name = crond
log = ${cron-simplelogger:log}
[logrotate-directory]
recipe = slapos.cookbook:mkdirectory
cron-entries = ${:etc}/cron.d
...
...
Vincent Pelletier
@vpelletier
mentioned in commit
b0d0efc2
·
Mar 03, 2017
mentioned in commit
b0d0efc2
mentioned in commit b0d0efc246ea90079777eb5b4cebfab93f88c5cf
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment