packweb-apache/files/userlogrotate: tfix (comments).

pull/160/head
David Prevot 2 months ago
parent 66563d0bf3
commit d67e03e5a2
  1. 4
      packweb-apache/files/userlogrotate

@ -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…
Cancel
Save