Permalink
Browse files

Documentation touches

  • Loading branch information...
1 parent aa952e6 commit 3a7c25886e4087b4b921002058537ca8f5b15a9e @miohtama committed Aug 30, 2012
Showing with 9 additions and 3 deletions.
  1. +9 −3 zsh-scripts/bin/discover-log-rotate
@@ -22,9 +22,15 @@
# picked up by a log rotate on the next run
discover-log-rotate /etc/logrotate.d/plone-all /srv/plone
- Confirm that it works by running logrotate manualy::
+ Confirm that it works by running logrotate manualy.
- logrotate -f -d /etc/logrotate.config
+ Dry run, outputs a lot but doesn't touch the files::
+
+ logrotate -f -d /etc/logrotate.conf
+
+ Test run, rotates the files::
+
+ logrotate -f /etc/logrotate.conf
Also see that your processes can re-open log files after logrotate run
by restating a sample process.
@@ -94,7 +100,7 @@ def run():
dirpath = os.path.dirname(full)
if not dirpath in matches:
- print "Adding log rorate entry for: %s" % dirpath
+ print "Adding log rotate entry for: %s" % dirpath
matches.append(dirpath)
for match in matches:

0 comments on commit 3a7c258

Please sign in to comment.