Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: djp@zeus.unx.dec.com (Dave Parker)
Subject: Re: init processes under DigitalUnix 3.2c?
Date: 1996/02/22	[thread overview]
Message-ID: <4ghp8h$kkf@nntpd.lkg.dec.com> (raw)
In-Reply-To: dave-2002961316360001@heffalumps.dmv.com



In article <dave-2002961316360001@heffalumps.dmv.com>, dave@heffalumps.dmv.com (J. David Purnell) writes:
|>
|>
|>I'm wondering, what's the correct way to configure a process to run at
|>boot time?
|>
|>To simply set up some daemon to run at boot time:
|>
|>Should I be adding entries to /etc/inittab?
|>Or should I be adding files to /sbin/init.d?
|>
|>
|>It seems like I'd just add a script which starts the daemon to
|>/sbin/init.d  and then make a link to it in /sbin/rc3.d
|>
|>Is this right?  Are there any rules for the numbering scheme of files in
|>/sbin/rc3.d?
|>

Dave,

What you're doing with init.d and rc3.d is a perfectly acceptable thing to do.

As far as the numbering scheme goes, you just want to make sure that your 
process starts at a logical time.  In other words, if your script needs the
network to be up, number it so that it runs after the network startup scripts.

Other then that, you are free to choose the number of your liking.

Just keep in mind that this method is a one-shot deal.  If your process dies
(assuming it needs to always run), this won't cause it to automatically restart.
You could use an entry in inittab for that.

Dave

----------------------------------------------------------------------
Dave Parker					djp@unx.dec.com
UNIX Engineering				Digital Equipment Corp
	The comments, opinions, etc. within are mine.....



  parent reply	other threads:[~1996-02-22  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-20  5:00 init processes under DigitalUnix 3.2c? J. David Purnell
1996-02-21  5:00 ` Henrik Wist
1996-02-22  5:00   ` Tony Jones
1996-02-22  5:00 ` Dave Parker [this message]
1996-02-22  5:00 ` Allan Gottlieb
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox