Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The only thing worse than X Windows: (X Windows) - X


rocksolid / Rocksolid Nodes Help / How to override SOME settings in rslight

SubjectAuthor
o How to override SOME settings in rslightRetro Guy

1
How to override SOME settings in rslight

<55b8580ab89f9e0cf1bf8fc21fdaef87@news.novabbs.org>

  copy mid

https://www.rocksolidbbs.com/rocksolid/article-flat.php?id=734&group=rocksolid.nodes.help#734

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: How to override SOME settings in rslight
Date: Tue, 19 Dec 2023 16:24:15 +0000
Organization: Rocksolid Light
Message-ID: <55b8580ab89f9e0cf1bf8fc21fdaef87@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="443829"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on novalink.us
X-Rslight-Site: $2y$10$wEV/fLW1XFzi.P42nP3ApuVAhLPvEh82ZwnbQF44Z9c4W/CCBNZ/.
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Tue, 19 Dec 2023 16:24 UTC

I don't think this is listed in install files, but there is a way to override SOME options for an install.

In your config dir (default /etc/rslight), you can create a file named overrides.inc.php as follows:

<?php
return [
// expire.php
'max_articles_per_group' => 100000, // more than this and they will expire.
Setting of days in rslight.inc.php still applies if less than this number.

// spoolnews.php
'maxarticles_per_run' => 100, // how many articles to retrieve each run of cron.php per group
'maxfirstrequest' => 1000, // how far back to start pulling articles for a new group

// Display short view of headers
'short_headers' => true, // smaller view of headers as seen on www.novabbs.com

// Just leave this here to avoid comma errors
'comma' => true // this is just to avoid errors. It's best to keep it here
];

--
Retro Guy

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor