From owner-freebsd-rc@FreeBSD.ORG Mon Dec 2 12:14:56 2013 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 716BA54D for ; Mon, 2 Dec 2013 12:14:56 +0000 (UTC) Received: from relay.ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB7721E83 for ; Mon, 2 Dec 2013 12:14:55 +0000 (UTC) Received: from ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by relay.ibs.dn.ua with ESMTP id rB2CALcA040738; Mon, 2 Dec 2013 14:10:22 +0200 (EET) Message-ID: <20131202141021.40736@relay.ibs.dn.ua> Date: Mon, 02 Dec 2013 14:10:21 +0200 From: "Zeus Panchenko" To: "Matthew Seaman" Subject: Re: rc dependencies ... In-reply-to: Your message of Mon, 16 Sep 2013 21:41:35 +0100 <52376CFF.60009@infracaninophile.co.uk> References: <20130916114741.99386@relay.ibs.dn.ua> <52374988.7030901@infracaninophile.co.uk> <20130916223753.73555@relay.ibs.dn.ua> <52376CFF.60009@infracaninophile.co.uk> Organization: I.B.S. LLC X-Mailer: MH-E 8.3.1; GNU Mailutils 2.99.98; GNU Emacs 24.0.93 X-Face: &sReWXo3Iwtqql1[My(t1Gkx; y?KF@KF`4X+'9Cs@PtK^y%}^.>Mtbpyz6U=,Op:KPOT.uG )Nvx`=er!l?WASh7KeaGhga"1[&yz$_7ir'cVp7o%CGbJ/V)j/=]vzvvcqcZkf; JDurQG6wTg+?/xA go`}1.Ze//K; Fk&/&OoHd'[b7iGt2UO>o(YskCT[_D)kh4!yY'<&:yt+zM=A`@`~9U+P[qS:f; #9z~ Or/Bo#N-'S'!'[3Wog'ADkyMqmGDvga?WW)qd=?)`Y&k=o}>!ST\ MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Cc: freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Zeus Panchenko List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Dec 2013 12:14:56 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthew Seaman 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 seco= nds after openvpn but before slapd start?=20 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. =2D --=20 Zeus V. Panchenko jid:zeus@im.ibs.dn.ua IT Dpt., I.B.S. LLC GMT+2 (EET) =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlKceK0ACgkQr3jpPg/3oyr7AACdGVHU74l6ZYNkZSo4Pwo4EED8 ZT0An1Ihq9QfiALGljthCBacB6Ch0dFV =3D2Me0 =2D----END PGP SIGNATURE-----