saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
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
|
||||
}
|
||||
Reference in New Issue
Block a user