🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27065

Re: Use of startup_innd.pl filter

#27065
From: Russ Allbery
Date: Sat, 21 Mar 1998 00:00
29 lines
1534 bytes
Jeremy <jeremy@exit109.com> writes:

> Well, startup_innd.pl is loaded and evaulated at startup.  I don't like
> it though, because if you want to change anything it becomes a bit of a
> pain.

I somewhere got the impression that reloading filter.perl reloaded it, but
maybe I'm wrong.

> If you want something to run only at startup, you can do something like:

> if (not $already_running) {
>     ...stuff...
>     $already_running = 1;
> }

Good point.

> The first time it gets executed, $already_running won't be defined, but
> after that, it will.

You know what I *really* want?  ctlinnd runperl 'name_of_perl_sub'.  And
you know, that probably wouldn't even be that hard....

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

Technical Details
Message-ID: <m3afajz9xg.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!not-for-mail
References: <m367l85nm5.fsf@windlord.Stanford.EDU> <m3ogyz1p7f.fsf@windlord.Stanford.EDU> <hh_Q.5$TR5.1570@firestorm.gunslinger.net> <m3n2ejzcwd.fsf@windlord.Stanford.EDU> <26%Q.6$TR5.1570@firestorm.gunslinger.net>

Show Full Headers
Complete Article Headers
Message-ID: <m3afajz9xg.fsf@windlord.Stanford.EDU>
Subject: Re: Use of startup_innd.pl filter
Date: Sat, 21 Mar 1998 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <m367l85nm5.fsf@windlord.Stanford.EDU> <m3ogyz1p7f.fsf@windlord.Stanford.EDU> <hh_Q.5$TR5.1570@firestorm.gunslinger.net> <m3n2ejzcwd.fsf@windlord.Stanford.EDU> <26%Q.6$TR5.1570@firestorm.gunslinger.net>
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: 336432160
Sender: eagle@windlord.Stanford.EDU
Organization: The Eyrie
Newsgroups: news.software.nntp