feat(packaging): compress rotated log files on alpine linux
arcad/emissary/pipeline/head This commit looks good Details

This commit is contained in:
wpetit 2023-11-30 19:53:22 +01:00
parent a6da1be3bf
commit 86ddb6a4c1
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,8 @@
/var/log/emissary/agent.log { /var/log/emissary/agent.log {
missingok missingok
sharedscripts sharedscripts
compress
rotate 7
postrotate postrotate
/etc/init.d/emissary-agent restart /etc/init.d/emissary-agent restart
endscript endscript

View File

@ -1,6 +1,8 @@
/var/log/emissary/server.log { /var/log/emissary/server.log {
missingok missingok
sharedscripts sharedscripts
compress
rotate 7
postrotate postrotate
/etc/init.d/emissary-server restart /etc/init.d/emissary-server restart
endscript endscript