diff options
author | Oleksii Shevchuk <alxchk@gmail.com> | 2013-03-25 18:49:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-25 17:51:06 +0100 |
commit | 26687bf8a907009dedcff79346860ed41511405e (patch) | |
tree | 3c540f4decd19e85941547bddd86987d7bf44f29 /src/journal/journald.conf | |
parent | a9602630c64791571ca37606a0a5eabfac85820a (diff) |
journal: Add sync timer to journal server
Add option to force journal sync with fsync. Default timeout is 5min.
Interval configured via SyncIntervalSec option at journal.conf. Synced
journal files will be marked as OFFLINE.
Manual sync can be performed via sending SIGUSR1.
Diffstat (limited to 'src/journal/journald.conf')
-rw-r--r-- | src/journal/journald.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journald.conf b/src/journal/journald.conf index 948318bc6..541047720 100644 --- a/src/journal/journald.conf +++ b/src/journal/journald.conf @@ -12,6 +12,7 @@ #Compress=yes #Seal=yes #SplitMode=login +#SyncIntervalSec=5m #RateLimitInterval=10s #RateLimitBurst=200 #SystemMaxUse= |