summaryrefslogtreecommitdiff
path: root/zabbix-logrotate.in
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-07-30 16:10:37 +0000
committerCoprDistGit <infra@openeuler.org>2025-07-30 16:10:37 +0000
commit1100cffc42e41fae46be927ea82936ce5fb3f28a (patch)
treedcf9f16ba5b4439c3972ee5787497b1b8f951630 /zabbix-logrotate.in
parentf6d28d7c04688a8470e3652b1532006c2462cb21 (diff)
automatic import of zabbixopeneuler24.03_LTS_SP2
Diffstat (limited to 'zabbix-logrotate.in')
-rw-r--r--zabbix-logrotate.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/zabbix-logrotate.in b/zabbix-logrotate.in
new file mode 100644
index 0000000..6eeea97
--- /dev/null
+++ b/zabbix-logrotate.in
@@ -0,0 +1,8 @@
+/var/log/USER/zabbix_COMPONENT.log {
+ missingok
+ monthly
+ notifempty
+ compress
+ copytruncate
+ su USER USER
+}