Article View: news.software.nntp
Article #28292INN, startup on HP-UX 10.20 boot
From: Brian McEntire
Date: Thu, 21 May 1998 00:00
Date: Thu, 21 May 1998 00:00
32 lines
1728 bytes
1728 bytes
I've been running INN for about 6 months now. The news server takes care of itself pretty well... I'm having trouble getting it to start on system startup/reboot. I'm familiar with the HP-UX 10.20 startup mechanism: /sbin/init.d/... links to these files from /sbin/rc<x>.d/S<nnn><startup script> etc, etc, etc... Anyway, executing /usr/news/bin/rc.news as news fires up innd and innwatch and overchan without any problems. *BUT: if I give the line su - news -c "/usr/news/bin/rc.news " >/dev/null 2>&1 from the /sbin/init.d/innd startup script, only innd gets started (which starts overchan) innwatch does not start. Does this have something to do with the mechanism used to start innwatch from within rc.news?? I see a sleep 60 there and then the call to put innwatch into the background. This doesn't seem to work during system startup (BTW, its the last script called so everything is mounted and started up by then.) Is there a good solution to this? Should I not use rc.news and fire off innd and innwatch from the startup script instead? Thanks! Brian
Technical Details
Message-ID:
<35646C6A.7A13@fsg1.nws.noaa.gov>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-mailShow Full Headers
Complete Article Headers
Message-ID: <35646C6A.7A13@fsg1.nws.noaa.gov> Subject: INN, startup on HP-UX 10.20 boot Date: Thu, 21 May 1998 00:00:00 +0000 From: Brian McEntire <brianm@fsg1.nws.noaa.gov> 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: 355308351 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: National Weather Service, Office Of Hydrology Newsgroups: news.software.nntp