From owner-freebsd-rc@FreeBSD.ORG Mon Sep 16 19:37:58 2013 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 212A5C3 for ; Mon, 16 Sep 2013 19:37:58 +0000 (UTC) (envelope-from zeus@ibs.dn.ua) 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 95EC427DE for ; Mon, 16 Sep 2013 19:37:57 +0000 (UTC) Received: from ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by relay.ibs.dn.ua with ESMTP id r8GJbrQV073557; Mon, 16 Sep 2013 22:37:54 +0300 (EEST) Message-ID: <20130916223753.73555@relay.ibs.dn.ua> Date: Mon, 16 Sep 2013 22:37:53 +0300 From: "Zeus Panchenko" To: "Matthew Seaman" Subject: Re: rc dependencies ... In-reply-to: Your message of Mon, 16 Sep 2013 19:10:16 +0100 <52374988.7030901@infracaninophile.co.uk> References: <20130916114741.99386@relay.ibs.dn.ua> <52374988.7030901@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\ Cc: freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 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, 16 Sep 2013 19:37:58 -0000 thank you Mathew for soon reply, Matthew Seaman wrote: > ... > that package) by adding an additional RC script like so: > > #!/bin/sh > # > # Make isc-dhcpd start after slapd > > # PROVIDE: precedence > # REQUIRE: slapd > # BEFORE: isc-dhcpd I have added it :> cat /usr/local/etc/rc.d/1order #!/bin/sh # # Make isc-dhcpd start after slapd # PROVIDE: precedence # REQUIRE: slapd # BEFORE: isc-dhcpd > > Test the resulting startup order by: > rcorder /etc/rc.d/* /usr/local/etc/rc.d/* here the result: ... /etc/rc.d/yppasswdd /usr/local/etc/rc.d/isc-dhcpd /usr/local/etc/rc.d/isc-dhcpd6 /usr/local/etc/rc.d/svnserve /etc/rc.d/LOGIN /usr/local/etc/rc.d/tinyproxy /usr/local/etc/rc.d/svscan /usr/local/etc/rc.d/smartd /usr/local/etc/rc.d/slapd ... is it correct? -- Zeus V. Panchenko jid:zeus@im.ibs.dn.ua IT Dpt., I.B.S. LLC GMT+2 (EET)