diff options
author | Silvino Silva <silvino@bk.ru> | 2020-02-17 05:08:15 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2020-02-17 05:08:15 +0000 |
commit | 36ef4944b852eaf9ef54154c3cccef6c2eb41292 (patch) | |
tree | fdd6d9740d68ee741c385e7a0a2888d74f4de2de /tools/conf/etc/logrotate.conf | |
parent | a947a31ede27fdf995e0a63e766fcd68eb491426 (diff) | |
download | doc-36ef4944b852eaf9ef54154c3cccef6c2eb41292.tar.gz |
configuration files fix
Diffstat (limited to 'tools/conf/etc/logrotate.conf')
-rw-r--r-- | tools/conf/etc/logrotate.conf | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/conf/etc/logrotate.conf b/tools/conf/etc/logrotate.conf index 636dffb..549bd7f 100644 --- a/tools/conf/etc/logrotate.conf +++ b/tools/conf/etc/logrotate.conf @@ -219,6 +219,15 @@ include /etc/logrotate.d endscript } +/var/log/ntpd { + # uncomment this if you want your log files compressed + delaycompress + compress + postrotate + /etc/rc.d/syslog-ng reload >/dev/null + endscript +} + /var/log/dnsmasq { # uncomment this if you want your log files compressed delaycompress @@ -295,7 +304,7 @@ include /etc/logrotate.d endscript } -/var/log/nginx/tribu_error.log { +/var/log/nginx/vhost_error { # uncomment this if you want your log files compressed delaycompress compress @@ -305,7 +314,7 @@ include /etc/logrotate.d endscript } -/var/log/nginx/tribu_access.log { +/var/log/nginx/vhost_access { # uncomment this if you want your log files compressed delaycompress compress |