From 26687bf8a907009dedcff79346860ed41511405e Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Mon, 25 Mar 2013 18:49:03 +0200 Subject: 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. --- src/journal/journald.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'src/journal/journald.conf') diff --git a/src/journal/journald.conf b/src/journal/journald.conf index 948318bc62..5410477201 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= -- cgit v1.2.3-54-g00ecf