From owner-freebsd-questions Mon Dec 3 5: 2: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from axel.truedestiny.net (a185066.upc-a.chello.nl [62.163.185.66]) by hub.freebsd.org (Postfix) with ESMTP id 9423437B416 for ; Mon, 3 Dec 2001 05:01:56 -0800 (PST) Received: by axel.truedestiny.net (Postfix, from userid 1000) id E67AF49A2C; Mon, 3 Dec 2001 14:01:57 +0100 (CET) Date: Mon, 3 Dec 2001 14:01:57 +0100 From: Axel Scheepers To: Tommy Forrest - KE4PYM Cc: "freebsd-questions@freebsd.org" Subject: Re: restart Message-ID: <20011203140157.A75457@mars.thuis> Reply-To: Axel Scheepers References: <200112022104.fB2L4db59887@server1.shellworld.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112022104.fB2L4db59887@server1.shellworld.net>; from tforrest@shellworld.net on Sun, Dec 02, 2001 at 04:04:35PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Dec 02, 2001 at 04:04:35PM -0500, Tommy Forrest - KE4PYM wrote: > How do I restart natd to pickup changes I've made to /etc/natd.conf > without having to reboot the whole machine? kill -HUP work. I used to do that with a simple script which kills natd and after 5 seconds starts it up again, something like: #!/bin/sh kill `ps auxww | grep natd | awk '{print $2}'` && sleep 5 && \ natd -your_options I don't use natd anymore so I never really looked for another way of doing it 'the right way' Gr, -- Axel Scheepers UNIX System Administrator email: axel@axel.truedestiny.net ascheepers@vianetworks.nl http://axel.truedestiny.net/~axel ------------------------------------------ She liked him; he was a man of many qualities, even if most of them were bad. ------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message