Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 1999 17:41:35 -0500
From:      Nathan Ahlstrom <nrahlstr@winternet.com>
To:        Chris Zwilling <chris@cloudnet.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: System V style init files.
Message-ID:  <19990708174135.F10138@winternet.com>
In-Reply-To: <Pine.LNX.4.10.9907081642560.23233-100000@arus.cloudnet.com>; from Chris Zwilling on Thu, Jul 08, 1999 at 04:45:41PM -0500
References:  <Pine.LNX.4.10.9907081642560.23233-100000@arus.cloudnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Zwilling <chris@cloudnet.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990708174135.F10138>