hi,

please, help me to understand better scripts dependencies, how to make
one rc script wait for other ...

for my dhcpd configured with LDAP, I need to start 
/usr/local/etc/rc.d/isc-dhcpd 
only after 
/usr/local/etc/rc.d/slapd

for what I edited /usr/local/etc/rc.d/isc-dhcpd

--- isc-dhcpd~  2013-08-31 15:45:32.202899511 +0300
+++ isc-dhcpd   2013-09-04 18:32:36.297221926 +0300
@@ -3,7 +3,7 @@
 # $FreeBSD: branches/RELENG_9_1_0/net/isc-dhcp42-server/files/isc-dhcpd.in 
300897 2012-07-14 14:29:18Z beat $
 #
 # PROVIDE: dhcpd
-# REQUIRE: DAEMON
+# REQUIRE: DAEMON slapd
 # BEFORE: LOGIN
 # KEYWORD: shutdown
 #

but after reboot, dhcpd still complains:
Sep 16 10:02:41 bo20 dhcpd: Error: Cannot start TLS session to foo.bar:389: 
Can't contact LDAP server

when launched by hands, /usr/local/etc/rc.d/isc-dhcpd starts normally


so, where is my mistake, why is it not waiting for /usr/local/etc/rc.d/slapd ?

-- 
Zeus V. Panchenko                               jid:[email protected]
IT Dpt., I.B.S. LLC                                       GMT+2 (EET)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "[email protected]"

Reply via email to