masqmail

annotate man/mservdetect.1 @ 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 ef346dc67514
children 34c919a8d74e
rev   line source
meillo@380 1 .TH mservdetect 1 2012-01-18 masqmail-0.3.4 "User Commands"
meillo@34 2
meillo@0 3 .SH NAME
meillo@314 4 mservdetect \- Helper for masqmail in combination with masqdialer
meillo@34 5
meillo@34 6
meillo@0 7 .SH SYNOPSIS
meillo@97 8 \fB/usr/bin/mservdetect \fIhost port\fR
meillo@0 9
meillo@34 10
meillo@0 11 .SH DESCRIPTION
meillo@0 12
meillo@34 13 Mservdetect is a small helper application for masqmail to detect its online status
meillo@314 14 through the modem server masqdialer.
meillo@314 15 It connects to \fIhost\fR at \fIport\fR, speaking the masqdialer
meillo@314 16 protocol, and finally prints the active connection name, if any, to stdout.
meillo@0 17
meillo@310 18 If you want to use it, set \fBonline_query\fR=\fI"/usr/bin/mservdetect host port"\fR in
meillo@85 19 masqmail.conf.
meillo@0 20
meillo@0 21 .SH OPTIONS
meillo@34 22
meillo@0 23 .TP
meillo@34 24 \fBhost\fR
meillo@0 25
meillo@0 26 The hostname where the masqdialer server is running.
meillo@34 27
meillo@0 28 .TP
meillo@34 29 \fBport\fR
meillo@0 30
meillo@0 31 The port number where the masqdialer server is listening.
meillo@34 32
meillo@34 33
meillo@0 34 .SH AUTHOR
meillo@0 35
meillo@34 36 Masqmail was written by Oliver Kurth.
meillo@34 37 It is now maintained by Markus Schnalke <meillo@marmaro.de>.
meillo@0 38
meillo@95 39 You will find the newest version of masqmail at \fBhttp://marmaro.de/prog/masqmail/\fR.
meillo@26 40 There is also a mailing list, you will find information about it at masqmail's main site.
meillo@0 41
meillo@34 42
meillo@0 43 .SH BUGS
meillo@0 44
meillo@34 45 Please report bugs to the mailing list.
meillo@34 46
meillo@0 47
meillo@0 48 .SH SEE ALSO
meillo@0 49
meillo@85 50 \fBmasqmail(8)\fR, \fBmasqmail.conf(5)\fR