From owner-freebsd-doc@FreeBSD.ORG Wed Jan 23 16:15:14 2013 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4A626340 for ; Wed, 23 Jan 2013 16:15:14 +0000 (UTC) (envelope-from ike@blackskyresearch.net) Received: from rs149.luxsci.com (rs149.luxsci.com [64.49.224.181]) by mx1.freebsd.org (Postfix) with ESMTP id 00752E09 for ; Wed, 23 Jan 2013 16:15:13 +0000 (UTC) Received: from rs149.luxsci.com (localhost.localdomain [127.0.0.1]) by rs149.luxsci.com (8.14.4/8.13.8) with ESMTP id r0NGF6AD002039; Wed, 23 Jan 2013 11:15:06 -0500 Received: (from root@localhost) by rs149.luxsci.com (8.14.4/8.13.8/Submit) id r0NGF37P001997; Wed, 23 Jan 2013 16:15:03 GMT Received: (from sender 74627) (rs149.luxsci.com [127.0.0.1]) by LuxSci SP; Wed, 23 Jan 2013 16:15:02 +0000 Subject: Re: explicit use of /etc/rc.d vs service Content-Type: text/plain; charset=us-ascii From: "Isaac (.ike) Levy" In-Reply-To: Date: Wed, 23 Jan 2013 11:14:29 -0500 Content-Transfer-Encoding: quoted-printable References: To: Alexander Yerenkow X-Lux-Comment: Message r0NGEUjc001015 sent by user #74627 Message-Id: <1358957703-1650573.12314329.fr0NGEUjc001015@rs149.luxsci.com> X-Comment: LuxSci SP Message ID - 1358957703-1650573.12314329 Cc: freebsd-doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2013 16:15:14 -0000 On Jan 23, 2013, at 11:05 AM, Alexander Yerenkow wrote: > 2013/1/23 Eitan Adler >=20 >> Would anyone object to a patch which converts uses of >> "/etc/rc.d/daemon start" to "service daemon start" and the like? >> I would like to see service(1) become the standard interface to using >> services. >>=20 A decade of muscle memory will protest, but this is a very good idea- = service(1) has been there since 7.x. There should be a clear of RC, because many users wrap their own daemon = services using the base operating system mechanisms- (e.g. your patch = should not mangle this on the actual RC page). = http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcd= .html -- If included, it may be worthwhile to focus on the service(1) man page, = so this doesn't get confused with other abominable 'service' wrapper = utilities on other *NIX'es. They are quite different than this RC wrapper, and it would be a shame = for a new user to get them confused. > What it will do if there is both /etc/rc.d/A and /usr/local/etc/rc.d/A > ? This sort of thing raises a very good point, and without kidding, what = about /my/custom/hier/location/etc/rc.d/A Best, .ike