🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44117

Re: INN start script on Solaris

#44117
From: Russ Allbery
Date: Wed, 16 Feb 2000 00:00
32 lines
1541 bytes
Brad Knowles <brad@shub-internet.org> writes:
> Tony Rentschler <trentschler@ap.org> wrote:

>> What's the common way to start inn upon reboot on Solaris 2.6?

> I dunno.  Have you tried `ctlinnd start`?

newsfeed:~/etc> ctlinnd start
Usage error (unknown command) -- try -h for help.

The correct way to start INN is to run rc.news as the news user.  I
usually just roll a quick little SysV-style init script for my servers.

#!/bin/sh
# /etc/init.d/news -- Starts the news subsystem (by running rc.news).
# $Id: news.init,v 1.0 1999/10/03 16:19:56 eagle Exp $

case $1 in
'start')
    su news -c /var/news/bin/rc.news
    ;;
*)
    echo 'usage: /etc/init.d/news start'
    ;;
esac

This could obviously be enhanced in various ways.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yl1z6d87j3.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <38AAB1E7.B756171A@ap.org> <brad-28C8DF.16351716022000@news.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <yl1z6d87j3.fsf@windlord.stanford.edu>
Subject: Re: INN start script on Solaris
Date: Wed, 16 Feb 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <38AAB1E7.B756171A@ap.org> <brad-28C8DF.16351716022000@news.skynet.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 586562014
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.software.nntp