File tree Expand file tree Collapse file tree 20 files changed +200
-200
lines changed
Expand file tree Collapse file tree 20 files changed +200
-200
lines changed Original file line number Diff line number Diff line change 11/var/log/apache2/*.log /var/log/apache2/domains/*log {
2- weekly
3- missingok
4- rotate 52
5- compress
6- delaycompress
7- notifempty
8- create 640 root adm
9- sharedscripts
10- postrotate
11- /etc/init.d/apache2 reload > /dev/null || true
12- [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
2+ rotate 4
3+ weekly
4+ missingok
5+ notifempty
6+ compress
7+ delaycompress
8+ create 640 root adm
9+ sharedscripts
10+ postrotate
11+ /etc/init.d/apache2 reload > /dev/null || true
12+ [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
1313 endscript
14- prerotate
15- if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
16- run-parts /etc/logrotate.d/httpd-prerotate; \
17- fi; \
14+ prerotate
15+ if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
16+ run-parts /etc/logrotate.d/httpd-prerotate; \
17+ fi; \
1818 endscript
19- }
19+ }
Original file line number Diff line number Diff line change 11/var/log/dovecot*.log {
2- weekly
3- rotate 4
4- missingok
5- notifempty
6- compress
7- delaycompress
8- sharedscripts
9- postrotate
2+ rotate 4
3+ weekly
4+ missingok
5+ notifempty
6+ compress
7+ delaycompress
8+ sharedscripts
9+ postrotate
1010 doveadm log reopen
11- endscript
12- }
11+ endscript
12+ }
Original file line number Diff line number Diff line change 11/usr/local/hestia/log/*.log {
2+ rotate 12
3+ monthly
24 missingok
35 notifempty
4- size 30k
5- yearly
66 create 0600 root root
7- }
7+ }
Original file line number Diff line number Diff line change 11/var/log/nginx/*log /var/log/nginx/domains/*log {
2- daily
3- missingok
4- rotate 52
5- compress
6- delaycompress
7- notifempty
8- create 640 nginx adm
9- sharedscripts
10- postrotate
11- [ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`
2+ rotate 4
3+ weekly
4+ missingok
5+ notifempty
6+ compress
7+ delaycompress
8+ create 640 nginx adm
9+ sharedscripts
10+ postrotate
11+ [ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`
1212 endscript
13- }
13+ }
Original file line number Diff line number Diff line change 11/var/log/apache2/*.log /var/log/apache2/domains/*log {
2- weekly
3- missingok
4- rotate 52
5- compress
6- delaycompress
7- notifempty
8- create 640 root adm
9- sharedscripts
10- postrotate
11- /etc/init.d/apache2 reload > /dev/null || true
12- [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
2+ rotate 4
3+ weekly
4+ missingok
5+ notifempty
6+ compress
7+ delaycompress
8+ create 640 root adm
9+ sharedscripts
10+ postrotate
11+ /etc/init.d/apache2 reload > /dev/null || true
12+ [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
1313 endscript
14- prerotate
15- if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
16- run-parts /etc/logrotate.d/httpd-prerotate; \
17- fi; \
14+ prerotate
15+ if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
16+ run-parts /etc/logrotate.d/httpd-prerotate; \
17+ fi; \
1818 endscript
19- }
19+ }
Original file line number Diff line number Diff line change 11/var/log/dovecot*.log {
2- weekly
3- rotate 4
4- missingok
5- notifempty
6- compress
7- delaycompress
8- sharedscripts
9- postrotate
2+ rotate 4
3+ weekly
4+ missingok
5+ notifempty
6+ compress
7+ delaycompress
8+ sharedscripts
9+ postrotate
1010 doveadm log reopen
11- endscript
12- }
11+ endscript
12+ }
Original file line number Diff line number Diff line change 11/usr/local/hestia/log/*.log {
2+ rotate 12
3+ monthly
24 missingok
35 notifempty
4- size 30k
5- yearly
66 create 0600 root root
7- }
7+ }
Original file line number Diff line number Diff line change 11/var/log/nginx/*log /var/log/nginx/domains/*log {
2- daily
3- missingok
4- rotate 52
5- compress
6- delaycompress
7- notifempty
8- create 640 nginx adm
9- sharedscripts
10- postrotate
11- [ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`
2+ rotate 4
3+ weekly
4+ missingok
5+ notifempty
6+ compress
7+ delaycompress
8+ create 640 nginx adm
9+ sharedscripts
10+ postrotate
11+ [ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`
1212 endscript
13- }
13+ }
Original file line number Diff line number Diff line change 11/var/log/apache2/*.log /var/log/apache2/domains/*log {
2- weekly
3- missingok
4- rotate 52
5- compress
6- delaycompress
7- notifempty
8- create 640 root adm
9- sharedscripts
10- postrotate
11- /etc/init.d/apache2 reload > /dev/null || true
12- [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
2+ rotate 4
3+ weekly
4+ missingok
5+ notifempty
6+ compress
7+ delaycompress
8+ create 640 root adm
9+ sharedscripts
10+ postrotate
11+ /etc/init.d/apache2 reload > /dev/null || true
12+ [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
1313 endscript
14- prerotate
15- if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
16- run-parts /etc/logrotate.d/httpd-prerotate; \
17- fi; \
14+ prerotate
15+ if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
16+ run-parts /etc/logrotate.d/httpd-prerotate; \
17+ fi; \
1818 endscript
19- }
19+ }
Original file line number Diff line number Diff line change 11/var/log/dovecot*.log {
2- weekly
3- rotate 4
4- missingok
5- notifempty
6- compress
7- delaycompress
8- sharedscripts
9- postrotate
2+ rotate 4
3+ weekly
4+ missingok
5+ notifempty
6+ compress
7+ delaycompress
8+ sharedscripts
9+ postrotate
1010 doveadm log reopen
11- endscript
12- }
11+ endscript
12+ }
You can’t perform that action at this time.
0 commit comments