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
Labels
Merge Requests
103
Merge Requests
103
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
b4484b10
Commit
b4484b10
authored
Jan 24, 2019
by
Guillaume Hervier
Committed by
Thomas Gambier
Mar 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/logrotate: Use xz instead of gzip for log compression.
parent
e76b12b8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
stack/logrotate/buildout.cfg
stack/logrotate/buildout.cfg
+2
-2
stack/logrotate/buildout.hash.cfg
stack/logrotate/buildout.hash.cfg
+2
-2
stack/logrotate/instance-logrotate-base.cfg.in
stack/logrotate/instance-logrotate-base.cfg.in
+2
-2
stack/logrotate/logrotate.conf.in
stack/logrotate/logrotate.conf.in
+2
-2
No files found.
stack/logrotate/buildout.cfg
View file @
b4484b10
...
...
@@ -2,7 +2,7 @@
extends =
buildout.hash.cfg
../../component/dcron/buildout.cfg
../../component/
gzip
/buildout.cfg
../../component/
xz-utils
/buildout.cfg
../../component/logrotate/buildout.cfg
parts =
template-logrotate-base
...
...
@@ -25,7 +25,7 @@ template = ${:_profile_base_location_}/${:filename}
rendered = ${buildout:directory}/instance-logrotate-base.cfg
context =
key dcron_location dcron:location
key
gzip_location gzip
:location
key
xz_location xz-utils
:location
key logrotate_location logrotate:location
key logrotate_conf_template logrotate-conf-template:target
key logrotate_entry_template logrotate-entry-template:target
stack/logrotate/buildout.hash.cfg
View file @
b4484b10
...
...
@@ -14,7 +14,7 @@
# not need these here).
[logrotate-conf-template]
filename = logrotate.conf.in
md5sum =
67954c82a8030e5dcac3a8c5d115f624
md5sum =
2fc0ea335969ffab7d8c4f98e3d04ae7
[logrotate-entry-template]
filename = logrotate_entry.in
...
...
@@ -22,4 +22,4 @@ md5sum = 117e46af6d9d31c09eeb86089d11407e
[template-logrotate-base]
filename = instance-logrotate-base.cfg.in
md5sum =
f56b86a0742afff931a5e972114566e4
md5sum =
49bf4c88448c7366c080e4b3948b9b65
stack/logrotate/instance-logrotate-base.cfg.in
View file @
b4484b10
...
...
@@ -28,8 +28,8 @@ wrapper = ${logrotate-directory:bin}/cron_simplelogger
log = ${logrotate-directory:log}/cron.log
[logrotate-conf-parameter]
gzip-binary = {{ gzip_location }}/bin/gzip
gunzip-binary = {{ gzip_location }}/bin/gunzip
compress-binary = {{ xz_location }}/bin/xz
uncompress-binary = {{ xz_location }}/bin/unxz
logrotate-entries = ${logrotate-directory:logrotate-entries}
[logrotate-conf]
...
...
stack/logrotate/logrotate.conf.in
View file @
b4484b10
compresscmd {{ parameter_dict['
gzip
-binary'] }}
compresscmd {{ parameter_dict['
compress
-binary'] }}
compressoptions -9
uncompresscmd {{ parameter_dict['
gunzip
-binary'] }}
uncompresscmd {{ parameter_dict['
uncompress
-binary'] }}
include {{ parameter_dict['logrotate-entries'] }}
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