Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2008 17:58:39 +0100
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>
Cc:        freebsd-hackers@freebsd.org, Jonathan McKeown <jonathan+freebsd-hackers@hst.org.za>
Subject:   Re: If not the force, what should I use?
Message-ID:  <1218646719.70002.27.camel@localhost>
In-Reply-To: <20080813080032.2328a474@bhuda.mired.org>
References:  <78cb3d3f0808120810o54f49373n69ac5076c9a9c9b7@mail.gmail.com> <200808130813.56656.jonathan%2Bfreebsd-hackers@hst.org.za> <48A29E15.5080303@unsane.co.uk> <200808131227.30125.jonathan%2Bfreebsd-hackers@hst.org.za> <20080813080032.2328a474@bhuda.mired.org>

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

--=-CR+o7CNbtcfWMkQxKIaV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2008-08-13 at 08:00 -0400, Mike Meyer wrote:
>=20
>            stop     If the service is to be started as specified by
>                     rc.conf(5), stop the service.  This should check that=
 the
>                     service is running and complain if it is not.  If
>                     forcestop is given, ignore the rc.conf(5) check and
>                     attempt to stop.
>=20
> I don't have time to do it now, but will later if no one says they have..=
..
>=20
>   <mike

Why should it complain? If I've asked it to stop a service, and the
service is not running, that's not an error or complaint - its the
desired outcome.

The only thing that perhaps should be warned about is when you attempt
to stop a service that is not configured to start, but has been started
using {one,force}start, it will not be stopped unless you use the
equivalent {one,force}stop. Personally, I think that's fine, but it
certainly could annoy.

One of the things that appeals to me with FreeBSD is how sane
everything is, and how unobtrusive and simple it is, especially
compared to the noisy, obtrusive SysV init that you find on most Linux
distros - you know the kind I mean, one program to add a service to a
run level, one program to list the services in a run level... FreeBSD
allows you to do all that stuff, with simple commands like vi, grep etc.

Cheers

Tom

--=-CR+o7CNbtcfWMkQxKIaV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAkijErsACgkQlcRvFfyds/f5/QCdGjRWjQBPC8YReDc/4JZ9+wIu
KvoAoI+lVZJQmfxrOnjRWKl3WX+cxyow
=1nKo
-----END PGP SIGNATURE-----

--=-CR+o7CNbtcfWMkQxKIaV--




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