🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53520

Re: nntp server admin question

#53520
From: Russ Allbery
Date: Sat, 28 Jul 2001 09:42
36 lines
2392 bytes
Mark W Modrall <modrall@world.std.com> writes:

> but now i'm stuck with the question of how to set up the sym links to
> get it run in the right contexts...  The red hat distribution just has
> the K links in all of the rcn.d directories to kill it, but no S links
> anywhere...

That's because Red Hat expects you to use chkconfig to turn it on.

> is everything in init.d called with start to begin with?  if so, why
> would you necessaryily want to kill it going between states?

Because the init.d system is trying to ensure that a particular set of
system processes and only those processes are running at any given run
level.  This is a logical thing to want to do with run levels, but the
init.d system is really horrid at it.  I'm hoping that the new BSD run
level system will be better at this; personally, I've largely given up on
init.d on many of my servers and now use djb's daemontools with svscan
instead.

> and why wouldn't there be any S entries in the new states to restart it?

Becase on a Red Hat system, those are added by chkconfig when you turn the
service on.

> which states would be good to put S links in?

I generally put it around rc3.d/S01inn.  It depends on what you want your
run levels to mean.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylbsm5v186.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <GH5LCI.G34@world.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylbsm5v186.fsf@windlord.stanford.edu>
Subject: Re: nntp server admin question
Date: Sat, 28 Jul 2001 09:42:33 +0000
From: Russ Allbery <rra@stanford.edu>
References: <GH5LCI.G34@world.std.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 35
Distribution: na
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 996313354 25541 171.64.13.23 (28 Jul 2001 09:42:34 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)