packweb-apache/files/userlogrotate: tfix (comments).
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
66563d0bf3
commit
d67e03e5a2
|
@ -35,9 +35,9 @@ fi;
|
|||
|
||||
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)
|
||||
# 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 i in `ls -1 -d $HOMEPREFIX/*/log/$log 2>/dev/null | grep -v \.bak\.`; do
|
||||
|
|
Loading…
Reference in a new issue