From owner-freebsd-questions Tue Jul 18 12:25:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from margay.noc.ucla.edu (margay.noc.ucla.edu [169.232.10.14]) by hub.freebsd.org (Postfix) with ESMTP id D2AF037B732 for ; Tue, 18 Jul 2000 12:25:29 -0700 (PDT) (envelope-from meckhert@ucla.edu) Received: from localhost (meckhert@localhost) by margay.noc.ucla.edu (8.9.1a/8.9.1) with ESMTP id MAA17017 for ; Tue, 18 Jul 2000 12:25:29 -0700 (PDT) Date: Tue, 18 Jul 2000 12:25:29 -0700 (PDT) From: "ECKHERT,MARC JUSTIN" To: freebsd-questions@freebsd.org Subject: Starting and stopping daemons Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a question about how to start and stop daemons. I have been using Redhat Linux for a long time now, and have become familiar with the System V type initilization, where I can tyep /etc/rc.d/init.d/sendmail stop in order to stop a process, and /etc/rc.d/init.d/sendmail start to start it again. What is the simplest way to start and stop daemons that are not controlled by inetd? Do I have to explicitly invoke each daemon, like sendmail -bd if I want to start it, and then hunt down the PID and use a kill command in order to kill it? I have found very little documentation on this so far, so any help would be much appreciated. Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message