masqmail
diff man/masqmail.conf.5 @ 421:f37384470855
Changed lockdir to /var/lock/masqmail; Create lockdir and piddir on startup.
Moved the lockdir out of the spool dir. (When /var/lock is a ramdisk
we do well to have the lock files there.) Added the new configure option
--with-lockdir to change that location. Nontheless, if we run_as_user,
then lock files are always stored in the spool dir directly.
Instead of installing the lockdir and piddir at installation time, we
create them on startup time now if they are missing. This is necessary
if lockdir or piddir are a tmpfs.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 30 May 2012 09:38:38 +0200 |
parents | 4cbaf6d6793f |
children | bdbedce60247 |
line diff
1.1 --- a/man/masqmail.conf.5 Tue May 29 22:15:55 2012 +0200 1.2 +++ b/man/masqmail.conf.5 Wed May 30 09:38:38 2012 +0200 1.3 @@ -92,7 +92,7 @@ 1.4 \fBspool_dir = \fIfile\fR 1.5 1.6 The directory where masqmail stores its spool files 1.7 -(and later also other stuff). 1.8 +(and lock files if \fIrun_as_user\fP). 1.9 It must have a subdirectory \fIinput\fR. 1.10 Masqmail needs read and write permissions for this directory. 1.11 \fIfile\fR must be an absolute path. 1.12 @@ -104,8 +104,12 @@ 1.13 1.14 The directory where masqmail stores its lock files. 1.15 Masqmail needs read and write permissions for this directory. 1.16 -By default it is a directory ``lock'' inside of \fIspool_dir\fP. 1.17 +The default is \fI/var/lock/masqmail\fR for normal operation. 1.18 \fIfile\fR must be an absolute path. 1.19 +The directory is created on startup if yet missing. 1.20 + 1.21 +If \fIrun_as_user\fP then lock files are stored in the \fIspool_dir\fP 1.22 +directly and the \fBlock_dir\fP setting is ignored. 1.23 1.24 .TP 1.25 \fBhost_name = \fIstring\fR