From owner-freebsd-questions Thu Dec 6 14:53:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tao.thought.org (sense-kline-249.oz.net [216.39.168.249]) by hub.freebsd.org (Postfix) with ESMTP id CF05237B417 for ; Thu, 6 Dec 2001 14:53:25 -0800 (PST) Received: (from kline@localhost) by tao.thought.org (8.11.3/8.11.0) id fB6MqMW33804; Thu, 6 Dec 2001 14:52:22 -0800 (PST) (envelope-from kline) Date: Thu, 6 Dec 2001 14:52:22 -0800 From: Gary Kline To: Josh Paetzel Cc: Rob B , questions@FreeBSD.ORG Subject: Re: How to restart services Message-ID: <20011206145222.A33785@tao.thought.org> References: <5.1.0.14.2.20011206165900.036a5bb0@pop.ozemail.com.au> <20011206023425.E446@twincat.vladsempire.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20011206023425.E446@twincat.vladsempire.net>; from friar_josh@webwarrior.net on Thu, Dec 06, 2001 at 02:34:25AM +0000 X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 15 years of service to the Unix community 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 Thu, Dec 06, 2001 at 02:34:25AM +0000, Josh Paetzel wrote: > On Thu, Dec 06, 2001 at 05:06:57PM +1100, Rob B wrote: > > Hi all, > > > > Now that I have my updated OpenSSH daemon patched, built and installed ... > > what would be the best way to restart it? I know I could get onto the > > console and kill it, but how to restart it correctly? > > > > I am kinda used to the Debian Linux way, where all I type is daemon-name > > and a script does the rest. > > > > Cheers, > > Rob > > #killall -HUP sshd > It's simple enough to have shell aliases do a lot of this; that's what I do now. One of these years I'm planning to write a script.... ! gary -- Gary Kline kline@thought.org www.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message