From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bd0ca5ba6216d398 X-Google-Attributes: gidfee84,public From: djp@zeus.unx.dec.com (Dave Parker) Subject: Re: init processes under DigitalUnix 3.2c? Date: 1996/02/22 Message-ID: <4ghp8h$kkf@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 140560185 distribution: world references: organization: Digital Equipment Corporation reply-to: djp@zeus.unx.dec.com (Dave Parker) newsgroups: comp.unix.osf.osf1 In article , 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.....