Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2013 11:14:29 -0500
From:      "Isaac (.ike) Levy" <ike@blackskyresearch.net>
To:        Alexander Yerenkow <yerenkow@gmail.com>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: explicit use of /etc/rc.d vs service
Message-ID:  <1358957703-1650573.12314329.fr0NGEUjc001015@rs149.luxsci.com>
In-Reply-To: <CAPJF9w=OJNoR6%2BjxzZBUv4YR-9auhSSrXTR0Udzi6TVRpeWkyQ@mail.gmail.com>
References:  <CAF6rxgnJPFevO7W%2BypBZdcL7deB%2B_cQHF0AEcVaWWv8FFhcNcQ@mail.gmail.com> <CAPJF9w=OJNoR6%2BjxzZBUv4YR-9auhSSrXTR0Udzi6TVRpeWkyQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Jan 23, 2013, at 11:05 AM, Alexander Yerenkow wrote:

> 2013/1/23 Eitan Adler <lists@eitanadler.com>
> 
>> 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.
>> 


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





help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1358957703-1650573.12314329.fr0NGEUjc001015>