saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
11
logrotate.d/cloudlinux-backup-utils
Normal file
11
logrotate.d/cloudlinux-backup-utils
Normal file
@@ -0,0 +1,11 @@
|
||||
/var/log/cloudlinux-backup-mysql-freeze.log
|
||||
/var/log/cloudlinux-backup-utils-cron.log
|
||||
/var/log/cloudlinux-backup-utils.log
|
||||
{
|
||||
rotate 3
|
||||
maxsize 50M
|
||||
compress
|
||||
delaycompress
|
||||
create 640 root root
|
||||
missingok
|
||||
}
|
||||
17
logrotate.d/imunify360
Normal file
17
logrotate.d/imunify360
Normal file
@@ -0,0 +1,17 @@
|
||||
/var/log/imunify360/captcha.log {
|
||||
# Keep 3 lotated files before removal
|
||||
rotate 3
|
||||
maxsize 50M
|
||||
hourly
|
||||
compress
|
||||
delaycompress
|
||||
|
||||
nocreate
|
||||
missingok
|
||||
|
||||
postrotate
|
||||
if systemctl status imunify360-captcha > /dev/null ; then \
|
||||
systemctl restart imunify360-captcha > /dev/null; \
|
||||
fi;
|
||||
endscript
|
||||
}
|
||||
9
logrotate.d/imunify360-pam
Normal file
9
logrotate.d/imunify360-pam
Normal file
@@ -0,0 +1,9 @@
|
||||
/var/log/imunify360/pam.log {
|
||||
missingok
|
||||
notifempty
|
||||
size 30k
|
||||
create 0600 root root
|
||||
postrotate
|
||||
systemctl restart imunify360-pam > /dev/null
|
||||
endscript
|
||||
}
|
||||
9
logrotate.d/imunify360-unified-access-logger
Normal file
9
logrotate.d/imunify360-unified-access-logger
Normal file
@@ -0,0 +1,9 @@
|
||||
/var/log/imunify360/imunify360-unified-access-logger/log.rotate {
|
||||
missingok
|
||||
notifempty
|
||||
size 30k
|
||||
create 0600 root root
|
||||
postrotate
|
||||
service imunify360-unified-access-logger restart
|
||||
endscript
|
||||
}
|
||||
9
logrotate.d/imunify360-wafd
Normal file
9
logrotate.d/imunify360-wafd
Normal file
@@ -0,0 +1,9 @@
|
||||
/var/log/imunify360/wafd.log {
|
||||
missingok
|
||||
notifempty
|
||||
size 30k
|
||||
create 0600 root root
|
||||
postrotate
|
||||
service imunify360-wafd restart
|
||||
endscript
|
||||
}
|
||||
15
logrotate.d/imunify360-webshield
Normal file
15
logrotate.d/imunify360-webshield
Normal file
@@ -0,0 +1,15 @@
|
||||
/var/log/imunify360-webshield/*.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 640 imunify360-webshield adm
|
||||
sharedscripts
|
||||
postrotate
|
||||
if [ -f /var/run/imunify360-webshield.pid ]; then
|
||||
kill -USR1 `cat /var/run/imunify360-webshield.pid`
|
||||
fi
|
||||
endscript
|
||||
}
|
||||
22
logrotate.d/ossec-hids
Normal file
22
logrotate.d/ossec-hids
Normal file
@@ -0,0 +1,22 @@
|
||||
/var/ossec/logs/active-responses.log {
|
||||
missingok
|
||||
notifempty
|
||||
copytruncate
|
||||
maxsize 100M
|
||||
rotate 7
|
||||
create 0664 ossec ossec
|
||||
su ossec ossec
|
||||
}
|
||||
|
||||
/var/ossec/logs/ossec.log {
|
||||
missingok
|
||||
notifempty
|
||||
copytruncate
|
||||
maxsize 100M
|
||||
rotate 7
|
||||
create 0664 ossec ossec
|
||||
su ossec ossec
|
||||
postrotate
|
||||
/var/ossec/bin/ossec-control restart > /dev/null 2>/dev/null
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user