From 86ddb6a4c103abce6cc7fb6e38c14fe0e7495847 Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 30 Nov 2023 19:53:22 +0100 Subject: [PATCH] feat(packaging): compress rotated log files on alpine linux --- misc/packaging/openrc/emissary-agent.logrotate.conf | 2 ++ misc/packaging/openrc/emissary-server.logrotate.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/misc/packaging/openrc/emissary-agent.logrotate.conf b/misc/packaging/openrc/emissary-agent.logrotate.conf index b7e29f3..15a187e 100644 --- a/misc/packaging/openrc/emissary-agent.logrotate.conf +++ b/misc/packaging/openrc/emissary-agent.logrotate.conf @@ -1,6 +1,8 @@ /var/log/emissary/agent.log { missingok sharedscripts + compress + rotate 7 postrotate /etc/init.d/emissary-agent restart endscript diff --git a/misc/packaging/openrc/emissary-server.logrotate.conf b/misc/packaging/openrc/emissary-server.logrotate.conf index d2a7c44..f2121fe 100644 --- a/misc/packaging/openrc/emissary-server.logrotate.conf +++ b/misc/packaging/openrc/emissary-server.logrotate.conf @@ -1,6 +1,8 @@ /var/log/emissary/server.log { missingok sharedscripts + compress + rotate 7 postrotate /etc/init.d/emissary-server restart endscript