On Fri, 20 Feb 2004, Andy Gayton wrote:
Andy - has the --sysconfdir option for configure in 1.2.6final changed
from 1.2.3?
Yes, sysconfdir now places the conf file, and localstatedir sets the location for logs and service scripts. I should have notified you of this when the release was done.
No worries, I'll update the wiki ..
Just noticed some changes on the wiki - I've always prefered to move the service directories instead of link them - I get confused if there's more lying about than necessary :)
The problem with moving the directories is that svscan is stupid! If it finds a change in the /service directory, then it scans the service directory _once_ for new services, then caches this.
We might have our wires a bit crossed here :)
In the instructions for lifewithbincimap I have:
> mv /var/qmail/control/service/imap /var/qmail/supervise > mv /var/qmail/control/service/imaps /var/qmail/supervise > ln -s /var/qmail/supervise/imap /service/imap > ln -s /var/qmail/supervise/imaps /service/imaps
so that imap and imaps service directories live with qmail and pop3d's service directories in /var/qmail/supervise
The wiki got updated to:
> ln -s /var/qmail/control/service/imap /var/qmail/supervise > ln -s /var/qmail/control/service/imaps /var/qmail/supervise > ln -s /var/qmail/supervise/imap /service/imap > ln -s /var/qmail/supervise/imaps /service/imaps
so there are now 3 copies of the imap and imaps services.
I would still prefer to move imap and imaps in with qmail and pop3d instead of linking them - but thought I'd run it past the list in case the was a strong reason for the change.
All of the above will be changing to go from /var/log/qmail/service -> /var/qmail/supervise with version 1.2.6 onwards (just noticed 1.2.7 is out!)
Andy is there a reason for having imap and imaps down by default? I might not be understanding properly the full effect of have down files in a service directory.
It's to prevent the services from popping up before they are configured. Of course, since the symlinking is done manually these days (it was automated in old versions of Binc) these files no longer seem necessary.
Would it be ok to leave the rm down files in the wiki? .. The instructions make sure you have configured things properly before linking in the service directories.
cheers, AndyG.
