summaryrefslogtreecommitdiff
path: root/src/journal/journal-vacuum.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-03 23:08:33 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-03 23:08:33 +0100
commitdbd2a83fbf051fc51bdca3aa7536c78479488c5b (patch)
tree6514add1da5ccf64179b8094ed497fb5ee043115 /src/journal/journal-vacuum.h
parenta6e841b454e076ecbab6abc0bceb85ed06fd5c70 (diff)
journalctl: add new --vacuum-size= and --vacuum-time= commands to clean up journal files based on a size/time limit
This is equivalent to the effect of SystemMaxUse= and RetentionSec=, however can be invoked directly instead of implicitly.
Diffstat (limited to 'src/journal/journal-vacuum.h')
-rw-r--r--src/journal/journal-vacuum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-vacuum.h b/src/journal/journal-vacuum.h
index bc30c3a140..a7fb6f0f0d 100644
--- a/src/journal/journal-vacuum.h
+++ b/src/journal/journal-vacuum.h
@@ -23,4 +23,4 @@
#include <inttypes.h>
-int journal_directory_vacuum(const char *directory, uint64_t max_use, usec_t max_retention_usec, usec_t *oldest_usec);
+int journal_directory_vacuum(const char *directory, uint64_t max_use, usec_t max_retention_usec, usec_t *oldest_usec, bool vacuum);