Jeff Kunzelman (DHL) wrote:
So we shared the data directory and it solved this problem. But we are running into issues with master-queuerunner.pid file being deleted when mailman is stopped or restarted causing us to have to recreate this file. Obviously we shouldn't be sharing the same pid file for 2 nodes.
My question is where in the configs can I change this filename so that each node can have a unique pid file?
The file is defined in Defaults.py and can be overridden in mm_cfg.py just like anything else. The default is
PIDFILE = os.path.join(DATA_DIR, 'master-qrunner.pid')
You can redefine this in each mm_cfg.py to be a unique name for each copy.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan