Re: rcorder example?
RW wrote: On Tuesday 20 June 2006 15:15, B. Cook wrote: Hello all, I'm looking at what I think is the right answer.. but can't make sense of it.. basically I have a couple of mailservers that run exim and dnscache, all being called out of daemontools. but I can't seem to figure out how to make svscan start first.. I don't see what you are getting at here, if exim and dnscache are started by svscan, then by defininition svscan *is* starting first. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yes svscan starts dnscache and exim, but many services depend on dns (dnscache is setup on loopback) so I have to wait (for up to 3 minutes) for dns timeouts to occour so that they boot can continue, and finally get to starting svscan (quite low in the dictionary order of things) So I'm looking for how I can control the order that things start up in. I've since changed the order by prepending 000, 010, 020, etc.. to startup script, but I just thought there was a way to manipulate it and not disrupt installs and plist related startup script. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rcorder example?
On Wednesday 21 June 2006 18:40, B. Cook wrote: RW wrote: On Tuesday 20 June 2006 15:15, B. Cook wrote: Hello all, I'm looking at what I think is the right answer.. but can't make sense of it.. basically I have a couple of mailservers that run exim and dnscache, all being called out of daemontools. but I can't seem to figure out how to make svscan start first.. I don't see what you are getting at here, if exim and dnscache are started by svscan, then by defininition svscan *is* starting first. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yes svscan starts dnscache and exim, but many services depend on dns (dnscache is setup on loopback) so I have to wait (for up to 3 minutes) for dns timeouts to occour so that they boot can continue, and finally get to starting svscan (quite low in the dictionary order of things) So I'm looking for how I can control the order that things start up in. As I said in my other reply it depends on which version of FreeBSD you are using. pre 6.1 you will have to move it to /etc/rc.d as several base-system scripts require dns access. There is also the potential problem that the later rc scripts wont wait for svscan to complete its initializations. By far the easiest solution to this problem is to put additional nameservers in resolv.conf after 127.0.0.1. The servers are checked in order, so only dnscache will be used once it's up. That's what I do and it works fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rcorder example?
On Tuesday 20 June 2006 15:15, B. Cook wrote: Hello all, I'm looking at what I think is the right answer.. but can't make sense of it.. basically I have a couple of mailservers that run exim and dnscache, all being called out of daemontools. but I can't seem to figure out how to make svscan start first.. I don't see what you are getting at here, if exim and dnscache are started by svscan, then by defininition svscan *is* starting first. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rcorder example?
On Tuesday 20 June 2006 15:15, B. Cook wrote: I also have another box with dansguardian and squid.. and dansguardian depends on squid but because d comes before s, dansguardian starts first, fails then squid starts.. and I've tried to use rcorder to fix that problem and can't seem to make that happen. Pre 6.1 the scripts in the local rc.d directory are all sourced from the same rcng script in dictionary order. You can change the ordering either by moving them to /etc/rc.d (if they comply with the rcng conventions), or by renaming. In 6.1 (onwards) local rcng scripts are integrated into rcorder. Those that aren't rcng are sourced in the traditional manner. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]