🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Tuc Wed, 17 Dec 2003 00:14
INN-Determine if a feed is active
#67450
Author: Tuc
Date: Wed, 17 Dec 2003 00:14
12 lines
1551 bytes
Hi,

  We would like to know what from the "newsfeeds" file has or hasn't
been "ctlinnd drop"'d. How can we tell?

  We cycle the server frequently, and temporarily "drop" feeds for
different reasons, is there some way otherwise that if I drop it, when
someone else goes to restart it, they don't start back up the next
time. I don't want to mess with newsfeeds constantly if I don't have
to.

Thanks, Tuc/TTSG Internet Services, Inc.
Re: INN-Determine if a feed is active
#67451
Author: Jeffrey M. Vinocur
Date: Wed, 17 Dec 2003 00:50
12 lines
1481 bytes
In article <b0a6af8e.0312161614.192394c9@posting.google.com>,
Tuc <google@ttsg.com> wrote:
>
>  We would like to know what from the "newsfeeds" file has or hasn't
>been "ctlinnd drop"'d. How can we tell?

`ctlinnd feedinfo` seems to be what you're looking for.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN-Determine if a feed is active
#67457
Author: Tuc
Date: Thu, 18 Dec 2003 01:40
17 lines
1888 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in message news:<bro98g$9ft$1@puck.litech.org>...
> In article <b0a6af8e.0312161614.192394c9@posting.google.com>,
> Tuc <google@ttsg.com> wrote:
> >
> >  We would like to know what from the "newsfeeds" file has or hasn't
> >been "ctlinnd drop"'d. How can we tell?
> 
> `ctlinnd feedinfo` seems to be what you're looking for.

DOH!

I looked at this command, and it returned results the last time I
checked it. I guess it runs into the 2nd part of my question, in that
how do I carry over the fact sites were "ctlinnd drop"'d between
"rc.news stop"/"rc.news start".

Thanks, Tuc/TTSG Internet Services, Inc.
Re: INN-Determine if a feed is active
#67458
Author: Russ Allbery
Date: Thu, 18 Dec 2003 01:46
20 lines
2193 bytes
Tuc <google@ttsg.com> writes:

> I looked at this command, and it returned results the last time I
> checked it. I guess it runs into the 2nd part of my question, in that
> how do I carry over the fact sites were "ctlinnd drop"'d between
> "rc.news stop"/"rc.news start".

There isn't a built-in capacity to do this in INN, since rc.news stop
kills innd and thereby discards all of its internal state.

If I needed to solve this problem, I'd write a script wrapper around
ctlinnd drop that stuck the host in a file, and then write an
rc.news.local script that's invoked by rc.news start that goes through all
the feeds listed in that file and does ctlinnd drop on them again.

-- 
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.
Re: INN-Determine if a feed is active
#67460
Author: Tuc
Date: Thu, 18 Dec 2003 06:14
13 lines
1917 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<87y8tax5ia.fsf@windlord.stanford.edu>...
>
> There isn't a built-in capacity to do this in INN, since rc.news stop
> kills innd and thereby discards all of its internal state.
> 
> If I needed to solve this problem, I'd write a script wrapper around
> ctlinnd drop that stuck the host in a file, and then write an
> rc.news.local script that's invoked by rc.news start that goes through all
> the feeds listed in that file and does ctlinnd drop on them again.
>
     Was thinking along those lines myself. :) 

     Thanks, Tuc/TTSG Internet Services, Inc.
Re: INN-Determine if a feed is active
#67462
Author: Tuc
Date: Thu, 18 Dec 2003 07:29
10 lines
1883 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<87y8tax5ia.fsf@windlord.stanford.edu>...
> If I needed to solve this problem, I'd write a script wrapper around
> ctlinnd drop that stuck the host in a file, and then write an
> rc.news.local script that's invoked by rc.news start that goes through all
> the feeds listed in that file and does ctlinnd drop on them again.
>
     Except if someone does a "ctlinnd reload newsfeeds|all XXXX". :-/ Guess
will need to wrap that too.

Tuc/TTSG Internet Services, Inc.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads