From owner-freebsd-questions Thu Oct 4 3: 8:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from geronimo.qbcon.com (geronimo.qbcon.com [196.37.71.40]) by hub.freebsd.org (Postfix) with ESMTP id 4310337B403 for ; Thu, 4 Oct 2001 03:08:45 -0700 (PDT) Received: (from root@localhost) by geronimo.qbcon.com (8.9.3/8.9.3) id LAA14410; Thu, 4 Oct 2001 11:45:46 +0200 Received: from qbcon.com (squid.qbcon.com [196.37.71.20]) by geronimo.qbcon.com (8.9.3/8.9.3) with ESMTP id LAA14338; Thu, 4 Oct 2001 11:45:41 +0200 Message-ID: <3BBC3415.74B4B6D4@qbcon.com> Date: Thu, 04 Oct 2001 12:04:05 +0200 From: Andreas Pauley X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14-15mdk i686) X-Accept-Language: af, nl, en, de MIME-Version: 1.0 To: Edwin Groothuis Cc: "questions@FreeBSD.ORG" Subject: Re: Restarting Daemons in FreeBSD References: <3BBC254E.41993B93@qbcon.com> <20011004185820.A498@k7.mavetju.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-scanner: scanned by Inflex 1.0.7 - (http://pldaniels.com/inflex/) 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 Edwin Groothuis wrote: > > > Is there a standard way to stop/start/restart daemons in FreeBSD? > > (I'm used to the RedHat way of having scripts for this in a central > > directory) > > Yes, a little bit more Do It Yourself than RedHat: find the process > and send the signals to it. -HUP is a common practise, so is storing > the pid in /var/run/... is and looking for the process id and send > the hup afterwards is working everywhere. Insightful, thank you :-) Andreas. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message