From owner-freebsd-questions@FreeBSD.ORG Mon Apr 14 08:50:39 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57BC037B401 for ; Mon, 14 Apr 2003 08:50:39 -0700 (PDT) Received: from devil.stderror.at (at00d01-adsl-194-118-044-149.nextranet.at [194.118.44.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id D47B943FA3 for ; Mon, 14 Apr 2003 08:50:37 -0700 (PDT) (envelope-from pinhead@stderror.at) Received: by devil.stderror.at (Postfix, from userid 1000) id 221F91569B; Mon, 14 Apr 2003 17:50:36 +0200 (CEST) Date: Mon, 14 Apr 2003 17:50:36 +0200 From: Toni Schmidbauer To: freebsd-questions@FreeBSD.ORG Message-ID: <20030414155036.GB90250@devil.stderror.at> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CblX+4bnyfN0pR09" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: Generic way to restart servers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: toni@stderror.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 15:50:39 -0000 --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--