release 22.07.1 #160
|
@ -35,9 +35,9 @@ fi;
|
||||||
|
|
||||||
test -x /usr/sbin/nginx && invoke-rc.d nginx rotate >/dev/null 2>&1
|
test -x /usr/sbin/nginx && invoke-rc.d nginx rotate >/dev/null 2>&1
|
||||||
|
|
||||||
# Zipping is done after web serveur reload, so that the file descriptor is released.
|
# Zipping is done after web server reload, so that the file descriptor is released.
|
||||||
# Else, an error is raised (gzip file size changed while zipping)
|
# Else, an error is raised (gzip file size changed while zipping)
|
||||||
# and logs written buring the zipping process might be lost.
|
# and logs written during the zipping process might be lost.
|
||||||
|
|
||||||
for log in access.log access-*.log error.log; do
|
for log in access.log access-*.log error.log; do
|
||||||
for i in `ls -1 -d $HOMEPREFIX/*/log/$log 2>/dev/null | grep -v \.bak\.`; do
|
for i in `ls -1 -d $HOMEPREFIX/*/log/$log 2>/dev/null | grep -v \.bak\.`; do
|
||||||
|
|
Loading…
Reference in a new issue