summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2016-09-19 00:51:23 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2016-09-19 01:46:25 +0100
commit924697ec0b1b90c95dcfebf7d3fb51b4a50125a5 (patch)
tree6f73864a50df03e1f032706164328787f693198b
parentfactory-default/net-proxy/haproxy: Add logrotate configuration (diff)
downloadportage-924697ec0b1b90c95dcfebf7d3fb51b4a50125a5.tar.xz
factory-default/sys-apps/portage: Add logrotate configuration
-rw-r--r--factory-default/sys-apps/portage/etc/logrotate.d/elog-save-summary5
1 files changed, 5 insertions, 0 deletions
diff --git a/factory-default/sys-apps/portage/etc/logrotate.d/elog-save-summary b/factory-default/sys-apps/portage/etc/logrotate.d/elog-save-summary
new file mode 100644
index 00000000..354dfd93
--- /dev/null
+++ b/factory-default/sys-apps/portage/etc/logrotate.d/elog-save-summary
@@ -0,0 +1,5 @@
+/var/log/portage/elog/summary.log {
+ createolddir 2755 portage portage
+ su portage portage
+ nocreate
+}