Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 17:50:36 +0200
From:      Toni Schmidbauer <toni@stderror.at>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Generic way to restart servers?
Message-ID:  <20030414155036.GB90250@devil.stderror.at>
In-Reply-To: <p0521060cbac08501a459@[142.131.246.132]>
References:  <p0521060cbac08501a459@[142.131.246.132]>

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

--CblX+4bnyfN0pR09
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 14, 2003 at 08:34:22AM -0700, Paul Hoffman wrote:
> Other BSDs have the rc.d concept, but it is often kind of kludgy,=20
> particularly when some servers come from the ports collection. Does=20
> FreeBSD have a generic way to shutdown and restart servers such as=20
> named and sendmail and apache?

/usr/local/etc/rc.d/, usally ports put there startup/shutdown
scripts into that directory (pgsql for instance). you could also
use rc.local but see the man page for more detailed information.

see man rc(8).

toni
--=20
Behandle die Menschen, als w=E4ren sie, was sie sein | toni at stderror dot=
 at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein k=F6nnen.  - Johann Wolfgang von Goethe     |

--CblX+4bnyfN0pR09
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+mtjLu/mjSj7RMocRAkAKAJ9oWnGoJHO84j5TZJdNTeXsUSXr5gCePXiQ
DvaewZAToYli0mBpglgzn14=
=rdqk
-----END PGP SIGNATURE-----

--CblX+4bnyfN0pR09--



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