remove build-in logrotate feature and provide logrotate-script
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Froxlor logrotate snipet
|
||||
#
|
||||
<CUSTOMER_LOGS>*.log {
|
||||
missingok
|
||||
weekly
|
||||
rotate 4
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create
|
||||
sharedscripts
|
||||
postrotate
|
||||
<WEBSERVER_RELOAD_CMD> > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Froxlor logrotate snipet
|
||||
#
|
||||
<CUSTOMER_LOGS>*.log {
|
||||
missingok
|
||||
weekly
|
||||
rotate 4
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create
|
||||
sharedscripts
|
||||
postrotate
|
||||
<WEBSERVER_RELOAD_CMD> > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Froxlor logrotate snipet
|
||||
#
|
||||
<CUSTOMER_LOGS>*.log {
|
||||
missingok
|
||||
weekly
|
||||
rotate 4
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create
|
||||
sharedscripts
|
||||
postrotate
|
||||
<WEBSERVER_RELOAD_CMD> > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Froxlor logrotate snipet
|
||||
#
|
||||
<CUSTOMER_LOGS>*.log {
|
||||
missingok
|
||||
weekly
|
||||
rotate 4
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create
|
||||
sharedscripts
|
||||
postrotate
|
||||
<WEBSERVER_RELOAD_CMD> > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Froxlor logrotate snipet
|
||||
#
|
||||
<CUSTOMER_LOGS>*.log {
|
||||
missingok
|
||||
weekly
|
||||
rotate 4
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create
|
||||
sharedscripts
|
||||
postrotate
|
||||
<WEBSERVER_RELOAD_CMD> > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Froxlor logrotate snipet
|
||||
#
|
||||
<CUSTOMER_LOGS>*.log {
|
||||
missingok
|
||||
weekly
|
||||
rotate 4
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create
|
||||
sharedscripts
|
||||
postrotate
|
||||
<WEBSERVER_RELOAD_CMD> > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user