diff options
author | Gerrit Pape <pape@smarden.org> | 2007-04-17 07:48:58 +0000 |
---|---|---|
committer | Gerrit Pape <pape@innominate.com> | 2007-04-17 07:48:58 +0000 |
commit | deca9b9d520f80401fc05261cb7097e2088a437f (patch) | |
tree | 813b292c5255667d8db2d78a06e2c7072abf1a75 /man | |
parent | 9e74b1c85c0299fe3372db78d30952a1bbeb76a2 (diff) | |
download | runit-deca9b9d520f80401fc05261cb7097e2088a437f.tar.gz runit-deca9b9d520f80401fc05261cb7097e2088a437f.tar.xz runit-deca9b9d520f80401fc05261cb7097e2088a437f.zip |
man/svlogd.8: add hint on how to manually remove log files
...after the number of log files svlogd should maintain has been reduced.
Diffstat (limited to 'man')
-rw-r--r-- | man/svlogd.8 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/man/svlogd.8 b/man/svlogd.8 index a7a4ba9..de068c6 100644 --- a/man/svlogd.8 +++ b/man/svlogd.8 @@ -97,7 +97,9 @@ or more old log files in the log directory, it removes the oldest one. Note that this doesn't decrease the number of log files if there are already more than .I num -log files. +log files, this must be done manually, e.g. for keeping 10 log files: +.P + ls \-1 \\@* |sort |sed \-ne '10,$p' |xargs rm .SS PROCESSOR If .B svlogd |