3 rc.news - Start or stop INN daemons
7 B<rc.news> [start | stop]
11 B<rc.news> can be used to start or stop B<innd> and supporting programs.
12 It checks to make sure INN is not already running, handles cases of
13 unclean shutdown, finishes up tasks which might have been interrupted by
14 the preceeding shutdown, emails certain boot-time warnings to
15 I<newsmaster> (as set in F<inn.conf>), and is generally safer and easier
16 than starting and stopping everything directly. It needs to be run as the
17 news user so that files in I<pathrun> are created with the right ownership
18 (though this is less important for C<rc.news stop>), and therefore
19 requires that F<inndstart> be setuid root, see inndstart(8) for
22 Programs run and stopped by this script include:
28 Always: B<inndstart> is run, and B<innd> is stopped.
32 If I<doinnwatch> is true in F<inn.conf>: B<innwatch> is started and
37 If I<docnfsstat> is true in F<inn.conf>: B<ovdb_init> is run;
38 B<ovdb_server> and B<ovdb_monitor> are stopped.
42 If F<rc.news.local> exists in I<pathbin>: B<rc.news.local> is run with
43 argument C<start> or C<stop> (to perform site-specific startup or shutdown
54 If the first argument is C<start>, or no first argument is given,
55 B<rc.news> initiates INN startup.
59 If the first argument is C<stop>, B<rc.news> initiates INN shutdown. It
60 is recommended to throttle the server first as described in ctlinnd(8).
66 To start INN and leave certain error messages going to the terminal:
68 su - news -c ~news/bin/rc.news
70 To run INN at startup time from appropriate system boot scripts:
72 su - news -c ~news/bin/rc.news >/dev/console
74 To stop INN (throttling first):
76 ~news/bin/ctlinnd throttle reason
77 su - news -c '~news/bin/rc.news stop'
81 Running C<rc.news start> as root is never the right thing to do, so we
82 should at minimum check for this and error, or perhaps change effective
87 // FIXME: any attribution for rc.news itself?
89 This manual page written by Jeffrey M. Vinocur <jeff@litech.org> for
92 $Id: rc.news.pod 5908 2002-12-03 04:41:36Z vinocur $