RC.NEWS(8)
π RC.NEWS(8) β the group-chat guide
okay so bestie, this is rc.news, from the InterNetNews documentation set (manual page RC.NEWS(8), if you're keeping track). It's the little script that starts and stops your INN daemons, and honestly? It's giving responsible older sister. Let's get into it π
β¨ NAME β¨
rc.news β start or stop INN daemons, no cap π¦
πΈ SYNOPSIS πΈ
rc.news ["start" | "stop"]
π DESCRIPTION π
rc.news is literally your one-stop glow-up for starting or stopping innd and all its supporting programs. It checks that INN isn't already running (no double-starting, we don't do that here π), handles cases of unclean shutdown, finishes up tasks that might have been interrupted by the preceding shutdown, e-mails certain boot-time warnings to newsmaster (as set in inn.conf), and is generally safer and easier than starting and stopping everything directly. Iconic behaviour, honestly.
π«Ά It needs to be run as thenewsuser so that files inpathrunare created with the right ownership β though this is less important forrc.news stop.
Here's everything this script runs and stops, so you know exactly what's happening behind the scenes:
- Always:
inndis started or stopped. Always. Non-negotiable. π - If
doinnwatchis true ininn.conf:innwatchis started and stopped. - If
docnfsstatis true ininn.conf:cnfsstatis started and stopped. - If
ovmethodis set to"ovdb"ininn.conf:ovdb_initis run;ovdb_serverandovdb_monitorare stopped. - If
ovmethodis set to"ovsqlite"ininn.conf:ovsqlite-serveris started and stopped. - If
rc.news.localexists inpathbin:rc.news.localis run with argument"start"or"stop"(to perform site-specific startup or shutdown tasks β go off, local customisation π). - When started, if INN appears to have previously been shut down during its expiry process, run
expirermif there are articles to unlink. - When started, if overview data appears to have just been rebuilt and
activeneeds to be renumbered, then actually renumber it.
π₯ OPTIONS π₯
"start"β if the first argument is"start", or no first argument is given at all (default queen behaviour β¨),rc.newsinitiates INN startup."stop"β if the first argument is"stop",rc.newsinitiates INN shutdown. Bye bestie π
β EXAMPLES β
Wanna start INN and leave certain error messages going to the terminal? Say less:
su news -s /bin/sh -c <pathbin in inn.conf>/rc.news
Wanna run INN at startup time from appropriate system boot scripts? Very main character of you:
su news -s /bin/sh -c <pathbin>/rc.news >> <pathlog>/rc.news 2>&1
Wanna stop INN? Simple as:
su news -s /bin/sh -c '<pathbin>/rc.news stop'
π¦ HISTORY π¦
This manual page was written by Jeffrey M. Vinocur <jeff@litech.org> for InterNetNews. Respect the author, fr fr π
π SEE ALSO π
ctlinnd(8), cnfsstat(8), expirerm(8), inn.conf(5), innwatch(8), ovdb(5), ovsqlite(5). Go read those next, iykyk π
That's the whole page, bestie β brought to you by INN 2.7.4, dated 2022-07-10, and lovingly resold to you with way more emoji than the original author ever intended ππ
π¦ where this page comes from
- arch rolling: inn 2.7.4-4 Β· ISC
- epel 10: inn 2.7.4-5.el10_3 Β· ISC AND BSD-3-Clause AND BSD-4-Clause AND FSFAP AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain AND MIT AND NTP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms