Tweak rotatelogs -p such that the program is invoked the first time a
authorJoe Orton <jorton@apache.org>
Mon, 27 Jun 2011 10:57:10 +0000 (10:57 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 27 Jun 2011 10:57:10 +0000 (10:57 +0000)
commit550078b73197f5185cb2a2c1e55c9f5fdb4edcb7
tree43bd346334eb594f1eec99602861167acf0f26ce
parent6fa25788d3b61d7405e9920ee9f217ea3879a5f9
Tweak rotatelogs -p such that the program is invoked the first time a
new log file is opened as well as for rotations:

* support/rotatelogs.c (usage): Update.
  (post_rotate): Omit third arg if no prev logfile known.
  (doRotate): Invoke even if no previous logfile was open.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1140099 13f79535-47bb-0310-9956-ffa450edef68
docs/manual/programs/rotatelogs.xml
support/rotatelogs.c