[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

reboot proceedure



If I have a number of programs specified in /etc/inittab when in which order 
will they receive SIGTERM during suchdown?

A portslave user has the following in his inittab:

fr:12345:respawn:/usr/local/sbin/radiusd -f -s &> /dev/null
s0:2345:respawn:/usr/local/sbin/portslave 6
s8:2345:respawn:/usr/local/sbin/portslave 9
s9:2345:respawn:/usr/local/sbin/portslave 10

His problem is that the radiusd gets killed before portslave, so the end of 
call data can't be sent to radiusd from portslave and he misses billing 
information.

I know I could find out what the Debian sysvinit does by reading the source 
code, however that wouldn't answer the more general question of what I can 
expect from init.  I don't even know if this user runs Debian (probably not 
as he's not using my packages).

Any advice on this is appreciated.

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page



Reply to: