From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 11:45:39 2004 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 EEE0E16A4CE for ; Mon, 22 Nov 2004 11:45:39 +0000 (GMT) Received: from catflap.slightlystrange.org (cpc2-cmbg1-3-0-cust94.cmbg.cable.ntl.com [213.107.104.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7273E43D62 for ; Mon, 22 Nov 2004 11:45:39 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.43 (FreeBSD)) id 1CWCdV-0006cf-Uj for freebsd-questions@freebsd.org; Mon, 22 Nov 2004 11:45:37 +0000 Date: Mon, 22 Nov 2004 11:45:37 +0000 From: Daniel Bye To: FreeBSD Message-ID: <20041122114537.GA24925@catflap.slightlystrange.org> Mail-Followup-To: FreeBSD References: <41536B85000AC932@ims3e.cp.tin.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: <41536B85000AC932@ims3e.cp.tin.it> User-Agent: Mutt/1.4.2.1i Subject: Re: Restarting rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 11:45:40 -0000 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 22, 2004 at 12:18:05PM +0100, v.demartino2@virgilio.it wrote: > I set up a postgresql server under FreeBDSD 5.3 stable. >=20 > My question: if I modify rc.conf either directly or via sysinstall how > can I make the system be aware of that WITHOUT REBOOTING, in other words, > how can I make FreeBSD execute the modified rc.conf? It very much depends on the type of changes you have made in /etc/rc.conf. If you have altered the start-up flags for an application installed from ports, simply run its rc script in /usr/local/etc/rc.d, and provided it understands rcNG (which the vast majority I have come across lately do), your changes will be picked up as expected. This also holds true of most services invoked by the rc scripts in /etc/rc.d/ - call the script with the "restart" argument, and all should work. If you have altered interface configs (changed IP address, for example) you will need to use ifconfig to make the changes live. HTH Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBodFhhvzwOpChvo8RAuFQAKCG2C7ZrMmrUWgC3bstsY+rrQma1QCguhkU J0Axc/n5yHRljKx85cPlt2s= =/2ut -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu--