1RC.NEWS(8) InterNetNews Documentation RC.NEWS(8)
2
3
4
6 rc.news - Start or stop INN daemons
7
9 rc.news ["start" | "stop"]
10
12 rc.news can be used to start or stop innd and supporting programs. It
13 checks to make sure INN is not already running, handles cases of
14 unclean shutdown, finishes up tasks which might have been interrupted
15 by the preceding shutdown, e-mails certain boot-time warnings to
16 newsmaster (as set in inn.conf), and is generally safer and easier than
17 starting and stopping everything directly. It needs to be run as the
18 news user so that files in pathrun are created with the right ownership
19 (though this is less important for "rc.news stop").
20
21 Programs run and stopped by this script include:
22
23 • Always: innd is started or stopped.
24
25 • If doinnwatch is true in inn.conf: innwatch is started and stopped.
26
27 • If docnfsstat is true in inn.conf: cnfsstat is started and stopped.
28
29 • If ovmethod is set to "ovdb" in inn.conf: ovdb_init is run;
30 ovdb_server and ovdb_monitor are stopped.
31
32 • If ovmethod is set to "ovsqlite" in inn.conf: ovsqlite-server is
33 started and stopped.
34
35 • If rc.news.local exists in pathbin: rc.news.local is run with
36 argument "start" or "stop" (to perform site-specific startup or
37 shutdown tasks).
38
39 • When started, if INN appears to have previously been shut down
40 during its expiry process, run expirerm if there are articles to
41 unlink.
42
43 • When started, if overview data appears to have just been rebuilt
44 and active needs to be renumbered, then actually renumber it.
45
47 "start"
48 If the first argument is "start", or no first argument is given,
49 rc.news initiates INN startup.
50
51 "stop"
52 If the first argument is "stop", rc.news initiates INN shutdown.
53
55 To start INN and leave certain error messages going to the terminal:
56
57 su news -s /bin/sh -c <pathbin in inn.conf>/rc.news
58
59 To run INN at startup time from appropriate system boot scripts:
60
61 su news -s /bin/sh -c <pathbin>/rc.news >> <pathlog>/rc.news 2>&1
62
63 To stop INN:
64
65 su news -s /bin/sh -c '<pathbin>/rc.news stop'
66
68 This manual page written by Jeffrey M. Vinocur <jeff@litech.org> for
69 InterNetNews.
70
72 ctlinnd(8), cnfsstat(8), expirerm(8), inn.conf(5), innwatch(8),
73 ovdb(5), ovsqlite(5).
74
75
76
77INN 2.7.0 2022-07-10 RC.NEWS(8)