fix .gitignore dir negation so config/ and scripts/ are tracked
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/var/log/nginx/*.log {
|
||||
daily
|
||||
rotate 14
|
||||
minsize 100M
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
dateext
|
||||
sharedscripts
|
||||
postrotate
|
||||
systemctl reload nginx >/dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
/var/log/php/*.log {
|
||||
weekly
|
||||
rotate 12
|
||||
size 50M
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
create 0644 www-data www-data
|
||||
postrotate
|
||||
test ! -f /run/php/php8.4-fpm.pid || kill -USR1 "$(cat /run/php/php8.4-fpm.pid)" 2>/dev/null || true
|
||||
endscript
|
||||
}
|
||||
|
||||
/var/log/bitrix-backup.log {
|
||||
monthly
|
||||
rotate 6
|
||||
missingok
|
||||
compress
|
||||
}
|
||||
Reference in New Issue
Block a user