From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 12:34:59 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 55CD316A4CF for ; Mon, 22 Nov 2004 12:34:59 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFE5B43D45 for ; Mon, 22 Nov 2004 12:34:58 +0000 (GMT) (envelope-from david.jenkins@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so187681wri for ; Mon, 22 Nov 2004 04:34:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=h+KaD3B3mGPM+QRpDI20P6IufyQrSJms31iuJyyteqLMUyGlV4Qf+C/XA7Tlz9N6yweKRdvJINnABZ4gc9DPzw0qu8wC3a1ERJl4TJLDfX/AA71yBc/lgBWwhRZzb/JzvQLQIoSeN6Ox/JxRvYclzQeKF2eeOlbqo+j07y4MXq8= Received: by 10.54.52.56 with SMTP id z56mr1863255wrz; Mon, 22 Nov 2004 04:34:58 -0800 (PST) Received: by 10.54.5.4 with HTTP; Mon, 22 Nov 2004 04:34:58 -0800 (PST) Message-ID: <9395922d04112204346673e1ad@mail.gmail.com> Date: Mon, 22 Nov 2004 12:34:58 +0000 From: David Jenkins To: Dick Davies In-Reply-To: <20041122114050.GL22677@lb.tenfour> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41536B85000AC932@ims3e.cp.tin.it> <20041122114050.GL22677@lb.tenfour> cc: v.demartino2@virgilio.it cc: FreeBSD Questions Subject: Re: Restarting rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Jenkins List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 12:34:59 -0000 On Mon, 22 Nov 2004 11:40:50 +0000, Dick Davies wrote: > * v.demartino2@virgilio.it [1118 11:18]: > > I set up a postgresql server under FreeBDSD 5.3 stable. > > > > 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? > > Why would you want to do that? Just run the postgres startup script > (/usr/local/etc/rc.d/000.pgsql.sh) I would imagine for convenience - if their reasons are similar to what mine were. i.e if you have made several changes to rc.conf then manually restarting several services via /etc/rc.d or /usr/local/etc/rc.d or running ifconfig is monotonous. It would be substantially easy if there was a tool/command to just re-read rc.conf ... David