feat(packaging): compress rotated log files on alpine linux
arcad/emissary/pipeline/head This commit looks good
Details
arcad/emissary/pipeline/head This commit looks good
Details
This commit is contained in:
parent
a6da1be3bf
commit
86ddb6a4c1
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue