[PATCH] master -C command line option

Jeremy Rumpf jrumpf at heavyload.net
Tue Jan 7 22:30:11 EST 2003


All,

I've come across a need to be able to specify the configuration file (default 
of /etc/cyrus.conf) to the master process when starting it. 

As of cyrus 2.1.11 it appears that imapd and friends all accept the command 
line option of -C for specifying an alternate configuration file. Master 
though, only uses the hardcoded configuration file in masterconf.c.

Attached is a patch that implements the -C command line option for the master 
process. 

master -C /path/to/cyrus.conf

Questions, comments, flames welcome...

Cheers,
Jeremy





-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus.patch
Type: text/x-diff
Size: 2931 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20030107/9b299a31/cyrus.bin


More information about the Info-cyrus mailing list