From owner-freebsd-questions Sun Jan 13 16:24:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ns.ulstu.ru (ns.ulstu.ru [62.76.34.36]) by hub.freebsd.org (Postfix) with ESMTP id 1887037B402 for ; Sun, 13 Jan 2002 16:24:13 -0800 (PST) Received: by ns.ulstu.ru (Postfix-ULSTU, from userid 3909) id 1B3ED107885; Mon, 14 Jan 2002 03:24:10 +0300 (MSK) Date: Mon, 14 Jan 2002 03:24:09 +0300 From: zhuravlev alexander To: FreeBSD Questions Subject: Re: Restarting a service Message-ID: <20020114032409.A13036@ulstu.ru> Reply-To: zhuravlev alexander Mail-Followup-To: FreeBSD Questions References: <01c901c19c8d$5b08a6e0$0401a8c0@Hewey> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0pre2i In-Reply-To: <01c901c19c8d$5b08a6e0$0401a8c0@Hewey> 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, Jan 13, 2002 at 06:52:26PM -0500, Allen May wrote: > I have modified my sshd_config and want to restart the daemon without > rebooting the computer. How do I restart the SSHD? > In Mandrake Linux I can restart a daemon/service, like SSH or Apache by > doing the following: > /etc/init.d/httpd restart OR /etc/init.d/sshd restart > > How do I do the equivelent in FreeBSD? ps -auxww | grep sshd -you will find PID of ssh daemon then simple kill -HUP PID(which you get from prev step) > > Thanks > > -Allen > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Журавлев Александр Ц Т К У л Г Т У email:zaa@ulstu.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message