From owner-freebsd-questions Mon Nov 25 20: 3:26 2002 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 A2F2637B401 for ; Mon, 25 Nov 2002 20:03:25 -0800 (PST) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C72843ECF for ; Mon, 25 Nov 2002 20:03:25 -0800 (PST) (envelope-from nuk@panix.com) Received: from panix.com (unknown [206.159.40.218]) by mail3.panix.com (Postfix) with ESMTP id 53F4898228 for ; Mon, 25 Nov 2002 23:03:18 -0500 (EST) Message-ID: <3DE2F27A.9060705@panix.com> Date: Mon, 25 Nov 2002 20:03:06 -0800 From: nuk User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions Subject: starting, stopping, and reloading services Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Well, I'll admit most of my limited experience has been SysV style Linux distros. There, I'm used to being able to call a script in some subdirectory of /etc/initd w/ an option such as start, stop, restart, or reload to manipulate services running on that box. A couple of the distros provided shortcuts to even that along the lines of 'rcnfserver stop' (SuSE) or 'service nfs stop' (RedHat). Which leave me wondering: exactly how do I start/stop services from the command line in FreeBSD? Am I supposed to send the pid of the process a kill or HUP signal (someone want to refresh my memory as to the syntax of *that*?), and start it w/ a bunch of options/flags to get it back up and running? Or is there an easier way of doing these operations? TIA, nuk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message