Description: Set the default for SyncOnClose to Yes
Author: Tim Waugh The SyncOnClose
directive determines whether the scheduler
flushes changes to configuration and state files to disk. The default is
-No
which relies on the operating system to schedule a suitable
-time to write changes to disk.Yes
. The option No
relies on the operating
+system to schedule a suitable time to write changes to disk.
Note: --- a/man/cups-files.conf.man.in +++ b/man/cups-files.conf.man.in @@ -126,7 +126,7 @@ .TP 5 SyncOnClose No Specifies whether the scheduler calls \fIfsync(2)\fR after writing configuration -or state files. The default is No. +or state files. The default is Yes. .TP 5 SystemGroup group-name [group-name ...] .br --- a/scheduler/conf.c +++ b/scheduler/conf.c @@ -715,7 +715,7 @@ ReloadTimeout = DEFAULT_KEEPALIVE; RootCertDuration = 300; StrictConformance = FALSE; - SyncOnClose = FALSE; + SyncOnClose = TRUE; Timeout = DEFAULT_TIMEOUT; WebInterface = CUPS_DEFAULT_WEBIF;