🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16203

Re: innd 1.5.1 - multiple innwatches?

#16203
From: James Brister
Date: Sun, 23 Mar 1997 00:00
49 lines
2567 bytes
Gary Funck <gary@intrepid.com> writes:

> - what is the best method for shutting down innd and restarting it,
>   that will make sure that innwatch and friends are killed off?

The 1.5.1 innwatch.ctl has this as its first entry:

!!! test -f /var/news/run/innd.pid && echo 0 || echo 1 ! eq ! 1 ! exit ! innd dead

which makes it exit when innd dies a normal death (when you do, say ctlinnd
shutdown). Check that you have the latest .ctl file in there.

> - might it be possible for inndstart to also start innwatch, via
>   a command switch, so that inndstart then becomes a child process
>   of innd?  That way when innd goes away, so will innwatch?

Huh? How can inndstart start innd and be child of it? Perhaps you mean
innwatch be a child of innd? If innwatch was a child of innd, it wouldn't
know if innd exited. The control file is flexible enough to give you good
control over it.

> - it seems that 1.5.1 enables innwatch by default, in rc.news,
>   and 1.4 did not?  We didn't run innwatch in 1.4, and didn't
>   plan on running it in 1.5.1.   This small 1.4 -> 1.5.1 incompatibility
>   might be worth mentioning in the "upgradiing form 1.4 -> 1.5.1"
>   section (to be added) in the Install.ms notes?  Is this action
>   of running

It's noted in the README file. Innwatch is not the best tool for this job,
but it does pretty well, and the job does need doing. I highly recommend
running it, unless you have something better, as it can save your bacon
when disks get full etc.

> - alternatively, a config.data variable might be set to DO/DONT
>   that controls whether rc.news does/doesn't run innwatch at
>   system start up.

There are too many config.data variables, and I'm hoping to get rid of
config.data soon anyway. The answer for now is edit rc.news by hand to set 

	DOINNWATCH=false

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium      http://www.isc.org     inn@isc.org 

Technical Details
Message-ID: <yy3pvwqph2u.fsf@velo.pp.vix.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!not-for-mail
References: <5h3mq3$sq9$1@intrepid.intrepid.com>

Show Full Headers
Complete Article Headers
Message-ID: <yy3pvwqph2u.fsf@velo.pp.vix.com>
Subject: Re: innd 1.5.1 - multiple innwatches?
Date: Sun, 23 Mar 1997 00:00:00 +0000
From: James Brister <brister@vix.com>
References: <5h3mq3$sq9$1@intrepid.intrepid.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!not-for-mail
X-Deja-AN: 227903875
Organization: Internet Software Consortium
Newsgroups: news.software.nntp