Article View: news.software.nntp
Article #5597Re: inn 1.4unoff4 pre-release, starting daemon with hp/ux
From: Daryl Gaumer
Date: Wed, 13 Mar 1996 00:00
Date: Wed, 13 Mar 1996 00:00
39 lines
1970 bytes
1970 bytes
Chris Lewis (clewis@ferret.ocunix.on.ca) wrote:
: In article <u94trtw1wn.fsf@neal.ctd.comsat.com>,
: Neal Becker <neal@ctd.comsat.com> wrote:
: >We don't have any problem starting on hpux9.05. We just do
: >
: >from /etc/rc (localrc()) : /local/etc/rc.local
: >
: >Which does:
: >
: >su news -c /local/etc/rc.news
: The difference here is that we run rc.news as root, and let innd shuffle
: itself to news. We're actually running inn1.4sec2 with some upgrades.
: What we _really_ did is change the line in rc.news that starts up
: innwatch to:
: nohup echo "( ( sleep 60 ; ${INNWATCH} ) & )" | nohup su ${NEWSUSER} > /dev/null 2>&1
Someone in HP changed that line from:
echo "( ( sleep 60 ; ${INNWATCH} ) & )" | su ${NEWSUSER}
to:
echo "su ${NEWSUSER} -c ${INNWATCH}" | at now +2 minutes
This requires that the "${NEWSUSER}" be allowed to run "at" jobs. This is controlled
by the "at.allow" and "at.deny" files (one or both can be used). Typically, only the
"at.allow" file is used. See the man page on "at".
I've run this on my 715 workstation running HP-UX version 9.05 and on one of our
800's running HP-UX version 9.04.
I haven't tried it on HP-UX version 10.xx, yet. I'll do that in the next couple
of weeks.
-- darylg
Technical Details
Message-ID:
<4i7l8u$b68@hpax.cup.hp.com>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-mailReferences:
<4i200q$3dr@news.acns.nwu.edu> <Do6nKK.632@ferret.ocunix.on.ca> <u94trtw1wn.fsf@neal.ctd.comsat.com> <4i75a3$7n@bcarh8ab.bnr.ca>Show Full Headers
Complete Article Headers
Message-ID: <4i7l8u$b68@hpax.cup.hp.com> Subject: Re: inn 1.4unoff4 pre-release, starting daemon with hp/ux Date: Wed, 13 Mar 1996 00:00:00 +0000 From: darylg@cup.hp.com (Daryl Gaumer) References: <4i200q$3dr@news.acns.nwu.edu> <Do6nKK.632@ferret.ocunix.on.ca> <u94trtw1wn.fsf@neal.ctd.comsat.com> <4i75a3$7n@bcarh8ab.bnr.ca> 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: 142823914 Distribution: inet Organization: Hewlett-Packard Cupertino, CA Newsgroups: news.software.nntp