[Mailman-Users] Re: Starting qrunner for FreeBSD

Will Yardley william+mm at hq.newdream.net
Thu Jun 26 10:52:40 CEST 2003

On Wed, Jun 25, 2003 at 06:10:20AM +0200, Amardeo Sarma wrote:

> I am a newbie and running Mailman 2.1.1 on FreeBSD 4.7 / VPSv2, which works 
> with the old technique of running qrunner every minute from cron. The INSTALL 
> instructions give some hints on how to start the qrunner daemon at startup time 
> (apparently the preferred mode for 2.1.x), but this seems geared to Linux. I 
> would appreciate any hints on what the best solution for FreeBSD systems is.

Just link /usr/local/mailman/bin/mailmanctl to

Something like (adjust path as necessary):
ln -s /usr/local/etc/rc.d/mailman.sh /usr/local/mailman/bin/mailmanctl

Do note, however, that if the system crashes, the stale lockfile may not
get removed when it comes back up.

You could put a script in /usr/local/etc/rc.d/00somename.sh that does
something like (untested):

# remove dead links
case "$1" in
	test -f /usr/local/mailman/locks/master-qrunner && rm /usr/local/mailman/locks/master-qrunner

Running mailmanctl -s *should* fix stale lockfiles, but doesn't seem to
work in my experience (see some past posts to the list as well).

"Since when is skepticism un-American?
Dissent's not treason but they talk like it's the same..."
(Sleater-Kinney - "Combat Rock")

More information about the Mailman-Users mailing list