diff options
Diffstat (limited to 'doc/wydawca.texi')
-rw-r--r-- | doc/wydawca.texi | 67 |
1 files changed, 1 insertions, 66 deletions
diff --git a/doc/wydawca.texi b/doc/wydawca.texi index 4f40cb0..83669f4 100644 --- a/doc/wydawca.texi +++ b/doc/wydawca.texi @@ -99,7 +99,6 @@ How to Configure @command{wydawca}. * user privileges:: * daemon:: * tcp-wrapper:: -* locking:: * syslog:: * sql:: * dictionaries:: @@ -416,9 +415,7 @@ the standard error. in the command line. Command line options take precedence over configuration settings. The cron mode is the default. It can also be requested explicitly, using the @option{--cron} command -line option. This may be needed, for example, to schedule a daily -@command{wydawca} run when the main daemon instance is already -running. +line option. @xopindex{daemon, described} Similarly, the @option{--daemon} option enables daemon mode. @@ -526,7 +523,6 @@ directives any time by running @command{wydawca --config-help}. * user privileges:: * daemon:: * tcp-wrapper:: -* locking:: * syslog:: * sql:: * dictionaries:: @@ -1203,51 +1199,6 @@ and @samp{deny-syslog-priority} statements are: @samp{emerg}, @samp{alert}, @samp{crit}, @samp{err}, @samp{warning}, @samp{notice}, @samp{info}, and @samp{debug}. -@node locking -@section Locking Configuration - To avoid a possibility of two @command{wydawca} instances handling -the same triplet, @command{wydawca} @dfn{locks} the spool before -processing it. This is done by creating a @dfn{lock file}. The -parameters of the locking subsystem are configured via the -@code{locking} statement: - -@deffn {Config} locking @{ @dots{} @} -@smallexample -locking @{ - enable @var{arg:@i{boolean}}; - directory @var{dir:@i{string}}; - expire-time @var{time:@i{interval}}; - timeout @var{time:@i{interval}}; -@} -@end smallexample -@end deffn - -@deffn {Config: locking} enable bool -Enable or disable locking. By default it is enabled. -@end deffn - -@deffn {Config: locking} directory dir -Sets directory for lock files. Make sure @var{dir} is writable -for the user (or group) @command{wydawca} runs at (@pxref{user -privileges}. - -The default directory is @file{@var{localstatedir}/@/lock/@/wydawca}. -@end deffn - -@deffn {Config: locking} expire-time time -Sets expiration interval for lock files. An existing lock file -older than @var{time} is considered stale and removed. - -@xref{time interval specification}, for the syntax of @var{time}. -@end deffn - -@deffn {Config: locking} timeout time -Timeout for acquiring locks. If a lock file cannot be acquired during -this time, @command{wydawca} reports error and exits. - -@xref{time interval specification}, for the syntax of @var{time}. -@end deffn - @node syslog @section Syslog Configuration Directives @cindex syslog, configuration @@ -3376,22 +3327,6 @@ user @var{name:@i{string}}; # @xref{user privileges}. group @var{arg:@i{list of string}}; -# @r{Configure locking} -# @xref{locking}. -locking @{ - # @r{Enable or disable locking.} - enable @var{arg:@i{boolean}}; - - # @r{Set directory for lock files.} - directory @var{dir:@i{string}}; - - # @r{Define lock expiration interval.} - expire-time @var{time:@i{interval}}; - - # @r{Locking timeout.} - timeout @var{time:@i{interval}}; -@} - # @r{Listen on this address.} # @xref{daemon, listen}. listen @var{socket:@i{sock-addr}}; |