tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Respawn entries in /etc/inittab file
@ 2000-11-27  9:37 Das, Paul
  0 siblings, 0 replies; only message in thread
From: Das, Paul @ 2000-11-27  9:37 UTC (permalink / raw)
  To: tru64-unix-managers

All, does anybody know exactly how 'respawn' entries work in the
/etc/inittab file ?
Running 4.0F with the capacity planning software installed (cpcunix), if the
process is killed or stopped for some other reason, the init process doesn't
seem to kick it off again. Running 'init q' launches the process ok. There
doesn't seem to be any problems with the inittab file itself. I'm wondering
if init only relaunches processes that were initially started on entry to
the relevant run level (via inittab) by monitoring the PID as opposed to
relaunching a 'manually' started process. I also tried adding an entry for
the line printer daemon (with respawn) which also starts ok with 'init q'
but does not respawn if the process is killed.
The inittab entries are thus :

	# OSF/1 Release 1.0
	is:3:initdefault:
	ss:Ss:wait:/sbin/rc0 shutdown < /dev/console > /dev/console 2>&1
	s0:0:wait:/sbin/rc0 off < /dev/console > /dev/console 2>&1
	fs:23:wait:/sbin/bcheckrc < /dev/console > /dev/console 2>&1
	kls:Ss:sysinit:/sbin/kloadsrv < /dev/console > /dev/console 2>&1
	sysconfig:23:wait:/sbin/init.d/autosysconfig start < /dev/console >
/dev/console 2>&1
	update:23:wait:/sbin/update > /dev/console 2>&1
	it:23:wait:/sbin/it < /dev/console > /dev/console 2>&1
	kmk:3:wait:/sbin/kmknod > /dev/console 2>&1
	s2:23:wait:/sbin/rc2 < /dev/console > /dev/console 2>&1
	cpc:3:respawn:/usr/bin/cpcunix -dump 300 -poll 10000 > /dev/console
2>&1
	s3:3:wait:/sbin/rc3 < /dev/console > /dev/console 2>&1
	cons:1234:respawn:/usr/sbin/getty console console vt100

Thanks in advance 

Paul Das

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-27  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-27  9:37 Respawn entries in /etc/inittab file Das, Paul

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