From owner-freebsd-questions Thu Jul 8 15:41:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from icicle.winternet.com (icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (Postfix) with ESMTP id 3C4031515C for ; Thu, 8 Jul 1999 15:41:37 -0700 (PDT) (envelope-from nrahlstr@mail.winternet.com) Received: from tundra.winternet.com (nrahlstr@tundra.winternet.com [198.174.169.11]) by icicle.winternet.com (8.9.3/8.9.3) with ESMTP id RAA24588; Thu, 8 Jul 1999 17:41:36 -0500 (CDT) SMTP "HELO" (ESMTP) greeting from tundra.winternet.com But _really_ from :: nrahlstr@tundra.winternet.com [198.174.169.11] SMTP "MAIL From" = nrahlstr@mail.winternet.com (Nathan Ahlstrom) SMTP "RCPT To" = Received: (from nrahlstr@localhost) by tundra.winternet.com (8.8.7/8.8.4) id RAA10574; Thu, 8 Jul 1999 17:41:36 -0500 (CDT) Message-ID: <19990708174135.F10138@winternet.com> Date: Thu, 8 Jul 1999 17:41:35 -0500 From: Nathan Ahlstrom To: Chris Zwilling , freebsd-questions@FreeBSD.ORG Subject: Re: System V style init files. Mail-Followup-To: Chris Zwilling , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Chris Zwilling on Thu, Jul 08, 1999 at 04:45:41PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Zwilling wrote: > > Hello! > > I am coming from a RedHat world where all services (inetd, sendmail, > httpd, etc etc etc) are started and stopped with individual init scripts. > Yesterday I was doing some sendmail hacking and I found it quite tedious > to killall sendmail and then sendmail -bp.... Is there anything like the > System V init file structure that RedHat has or should I write my own. > The five second version of the question is: Is there any easy way to > restart individual services? You will have to write your own or kill -HUP `cat /var/run/sendmail.pid`. Also if you are really motivated you could take the work found at http://www.freebsd.org/~eivind/newrc.tar.gz and play with/enhance it. ;-) This work is aimed at what you are interested in. Good Luck, Nathan -- Nathan Ahlstrom FreeBSD: http://www.FreeBSD.org/ nrahlstr@winternet.com PGP Key ID: 0x67BC9D19 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message