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
26 stopped.
27
28 · If docnfsstat is true in inn.conf: ovdb_init is run; ovdb_server
29 and ovdb_monitor are stopped.
30
31 · If rc.news.local exists in pathbin: rc.news.local is run with
32 argument "start" or "stop" (to perform site-specific startup or
33 shutdown tasks).
34
36 "start"
37 If the first argument is "start", or no first argument is given,
38 rc.news initiates INN startup.
39
40 "stop"
41 If the first argument is "stop", rc.news initiates INN shutdown.
42 It is recommended to throttle the server first as described in
43 ctlinnd(8).
44
46 To start INN and leave certain error messages going to the terminal:
47
48 su -m news -c /etc/rc.news
49
50 To run INN at startup time from appropriate system boot scripts:
51
52 su -m news -c /etc/rc.news >/dev/console
53
54 To stop INN (throttling first):
55
56 <pathbin>/ctlinnd throttle reason
57 su -m news -c '/etc/rc.news stop'
58
60 Running "rc.news start" as root is never the right thing to do, so we
61 should at minimum check for this and error, or perhaps change effective
62 user ID.
63
65 // FIXME: any attribution for rc.news itself?
66
67 This manual page written by Jeffrey M. Vinocur <jeff@litech.org> for
68 InterNetNews.
69
70 $Id: rc.news.pod 8517 2009-06-17 17:49:36Z iulius $
71
73 ctlinnd(8), cnfsstat(8), inn.conf(5), innwatch(8), ovdb(5).
74
75
76
77INN 2.5.2 2010-08-11 RC.NEWS(8)