masqmail
diff INSTALL @ 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 | 09da6e72cd30 |
children | bdbedce60247 |
line diff
1.1 --- a/INSTALL Tue May 29 22:15:55 2012 +0200 1.2 +++ b/INSTALL Wed May 30 09:38:38 2012 +0200 1.3 @@ -66,9 +66,13 @@ 1.4 prefer another location than /etc/masqmail/. 1.5 1.6 --with-piddir=PIDDIR 1.7 -sets the default directory for the pid file of the daemon. The usual 1.8 +sets the directory for the pid file of the daemon. The default and usual 1.9 location is /var/run, but some GNU/Linux distributions have converted 1.10 -to /run. 1.11 +to /run. It gets created on program startup if missing. 1.12 + 1.13 +--with-lockdir=LOCKDIR 1.14 +sets the default directory for lock file for spooled messages. Default 1.15 +is /var/lock/masqmail. It gets created on program startup if missing. 1.16 1.17 1.18 --disable-resolver 1.19 @@ -102,10 +106,9 @@ 1.20 drwxr-xr-x 2 mail mail 4096 May 10 12:34 /var/log/masqmail 1.21 drwxr-xr-x 5 mail mail 4096 May 10 12:34 /var/spool/masqmail 1.22 drwxr-xr-x 2 mail mail 4096 May 10 12:34 /var/spool/masqmail/input 1.23 - drwxr-xr-x 2 mail mail 4096 May 10 12:34 /var/spool/masqmail/lock 1.24 1.25 Important are the set-user-id bit for /usr/local/sbin/masqmail and 1.26 -the permissions of all files. 1.27 +the ownership of the directories. 1.28 1.29 1.30