|o||Always: innd is started or stopped.|
|o||If doinnwatch is true in inn.conf: innwatch is started and stopped.|
|o||If docnfsstat is true in inn.conf: cnfsstat is started and stopped.|
|o||If ovmethod is set to ovdb in inn.conf: ovdb_init is run; ovdb_server and ovdb_monitor are stopped.|
|o||If rc.news.local exists in pathbin: rc.news.local is run with argument start or stop (to perform site-specific startup or shutdown tasks).|
|o||When started, if INN appears to have previously been shut down during its expiry process, run expirerm if there are articles to unlink.|
|o||When started, if overview data appears to have just been rebuilt and active needs to be renumbered, then actually renumber it.|
start If the first argument is start, or no first argument is given, rc.news initiates INN startup. stop If the first argument is stop, rc.news initiates INN shutdown.
To start INN and leave certain error messages going to the terminal:
su news -s /bin/sh -c <pathbin in inn.conf>/rc.news
To run INN at startup time from appropriate system boot scripts:
su news -s /bin/sh -c <pathbin>/rc.news >> <pathlog>/rc.news 2>&1
To stop INN:
su news -s /bin/sh -c <pathbin>/rc.news stop
Running rc.news start as root is never the right thing to do, so we should at minimum check for this and error, or perhaps change effective user ID.
// FIXME: any attribution for rc.news itself?
This manual page written by Jeffrey M. Vinocur <firstname.lastname@example.org> for InterNetNews.
$Id: rc.news.pod 9723 2014-09-24 17:54:24Z iulius $
ctlinnd(8), cnfsstat(8), expirerm(8), inn.conf(5), innwatch(8), ovdb(5).
|INN 2.6.0||RC.NEWS (8)||2015-09-12|