Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alain Takoudjou
slapos
Commits
1569f475
Commit
1569f475
authored
Nov 21, 2016
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logrotate stack: add section logrotate-entry-base
parent
c4280211
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
stack/logrotate/buildout.cfg
stack/logrotate/buildout.cfg
+1
-1
stack/logrotate/instance-logrotate-base.cfg.in
stack/logrotate/instance-logrotate-base.cfg.in
+5
-0
No files found.
stack/logrotate/buildout.cfg
View file @
1569f475
...
@@ -11,7 +11,7 @@ recipe = slapos.recipe.template:jinja2
...
@@ -11,7 +11,7 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/${:filename}.in
template = ${:_profile_base_location_}/${:filename}.in
rendered = ${buildout:directory}/${:filename}
rendered = ${buildout:directory}/${:filename}
filename = instance-logrotate-base.cfg
filename = instance-logrotate-base.cfg
md5sum =
af19ff0c7817df85987c69738fb083f2
md5sum =
eb50e848e7f7cfc7f842de94bedb11a7
context =
context =
key dcron_location dcron:location
key dcron_location dcron:location
key gzip_location gzip:location
key gzip_location gzip:location
...
...
stack/logrotate/instance-logrotate-base.cfg.in
View file @
1569f475
...
@@ -34,6 +34,11 @@ name = logrotate
...
@@ -34,6 +34,11 @@ name = logrotate
frequency = 0 0 * * *
frequency = 0 0 * * *
command = ${logrotate:wrapper}
command = ${logrotate:wrapper}
[logrotate-entry-base]
recipe = slapos.cookbook:logrotate.d
logrotate-entries = ${logrotate:logrotate-entries}
backup = ${logrotate-directory:backup}
[logrotate-directory]
[logrotate-directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
cron-entries = ${:etc}/cron.d
cron-entries = ${:etc}/cron.d
...
...
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