saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2023-02-09 14:51:39 +02:00
parent f150a7c81b
commit 4911d0453d
112 changed files with 4799 additions and 6 deletions

17
logrotate.d/imunify360 Normal file
View 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
}