From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,78d60789968fab19 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-24 14:10:17 PST Path: nntp.gmd.de!urmel.informatik.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!aix11.hrz.uni-oldenburg.de!nordwest.germany.eu.net!pophh!Germany.EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.mathworks.com!news.ultranet.com!pcm.ultranet.com!ginger From: ginger@pcm.ultranet.com (Ron Ginger) Newsgroups: comp.unix.osf.osf1 Subject: Re: rc3/rc3.d problems Date: Thu, 24 Nov 1994 14:10:17 Organization: UltraNet Communications, Inc. Message-ID: References: NNTP-Posting-Host: pcm.ultranet.com X-Newsreader: Trumpet for Windows [Version 1.0 Rev A] In article tjl@siva.bris.ac.uk (Tim Llewellyn) writes: >From: tjl@siva.bris.ac.uk (Tim Llewellyn) >Subject: Re: rc3/rc3.d problems >Date: Thu, 24 Nov 1994 15:35:18 GMT >I've been having fun recently with rc3.d and init.d, for httpd. >What I have done is also add a line to the /etc/inittab file to >start the daemon. I suggest you refer to the OSF system administration >manual to find out more. >Anyone else, is this the right thing (tm) to do, or am I trying to >kill a fly with a steamroller? I think the best approach is to put all local startup stuff in rc3.d. Give them names starting with S## and usually a number in the range 90-99. Just be sure you put it after things you need- like the network, or other daemons. I would not put things like httpd in inittab. For things you want to shutdown properly, place K## scripts in rc0.d. CAUTION: using 'shutdown -r now' or 'shutdown -h now' does NOT execute the rc0.d directory as you would guess. It simply shuts down the system processes. Doing 'shutdown now' DOES run thru rc0.d, but then it stops at single user mode, so if you want to do a reboot you must then go to the console terminal. This is a pain, but it is explicit, if well hidden, in the shutdown man page. ron ginger