-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthew Seaman <[email protected]> wrote: > > is it correct? > Hmmm... doesn't look right. Check what the PROVIDES lines in isc-dhcpd > [*] and slapd actually say -- usually they're the same as the name of > ... >
I figured it out that I need it look this way: #> cat /usr/local/etc/rc.d/1order #!/bin/sh # # Make isc-dhcpd start after openvpn and slapd # PROVIDE: precedence # REQUIRE: slapd openvpn # BEFORE: dhcpd it resolves to this scenary: #> rcorder /etc/rc.d/* /usr/local/etc/rc.d/* ... /etc/rc.d/yppasswdd /usr/local/etc/rc.d/openvpn /usr/local/etc/rc.d/slapd /usr/local/etc/rc.d/1order /usr/local/etc/rc.d/isc-dhcpd /usr/local/etc/rc.d/smartd /etc/rc.d/LOGIN ... so, now another question: where to can I set `sleep 2' to wait for a 2 seconds after openvpn but before slapd start? since openvpn inteface starts not instantly I have to be sure slapd will be able to find master for replication, which is behind openvpn interface. - -- Zeus V. Panchenko jid:[email protected] IT Dpt., I.B.S. LLC GMT+2 (EET) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlKceK0ACgkQr3jpPg/3oyr7AACdGVHU74l6ZYNkZSo4Pwo4EED8 ZT0An1Ihq9QfiALGljthCBacB6Ch0dFV =2Me0 -----END PGP SIGNATURE----- _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-rc To unsubscribe, send any mail to "[email protected]"
