From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2680c5dbf6527531 X-Google-Attributes: gidfee84,public From: Otis Gospodnetic Subject: Re: rc3, init.d and starting things at bootime Date: 1999/05/07 Message-ID: <7gtqfd$b81$1@nnrp1.deja.com>#1/1 X-Deja-AN: 475013276 References: <925983413.245242@hpwp3.technodat.co.at> X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 208.244.43.253 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri May 07 04:33:48 1999 GMT Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) In article <925983413.245242@hpwp3.technodat.co.at>, kra1@technodat.co.at (Christian Krackowizer) wrote: > In article , > hutch@civil.canterbury.ac.nz says... > > > >I realise this is a pretty naive request but could somebody give me an > >overview of how I get to automatically start something eg a webserver or > >a licence server at boottime. > > > >I've found this directory /sbin/init.d which seems to contain scripts > >for starting things and then there is the other one /sbin/rc3.d which > >seems to contain links to the previous one. The links are named in > >systematic ways starting with Snn.... where nn is a number. > > > >Do the scripts need to be written in any special way.. > > > >The man pages on all this are pretty detailed and I sort of need an overview. > > > >System: DEC Alphatstation running 4.0B DU. > > > >Thanks for your help.. > > > > Hi, > > forget about all this init.d, rc.2/3/n stuff. Just add an new (last) entry in > /etc/inittab e.g. > > own:23:wait:/etc/rc.myownstuff > blah blah > > in this rc.myownstuff you can specify all you want to start. > This technique works on all systems with an inittab, regardless where the > rc.2/3/n are located - don't fiddle in system directories! Hi, I'm not new to UNIX, but I'm relatively new to Alphas. I'm not sure about which 'Action' I should specify for starting something like Apache web server/httpd at boot time? man page for inittab describes all actions, but a number of them seem okay to me, so I'm not sure which one to use :) Can anyone help? (maybe an entry from your /etc/inittab?) Thanks, Otis -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own