RE: [gentoo-user] Any way to put the startup scripts in debug mode?

2003-03-03 Thread Balaji Srinivasan
The problem as i see with this approach is that if someone kills a process by hand (or it crashes), the start up scripts dont recognize it. This is because as far as /mnt/.init.d is concerned it is still started. Balaji -Original Message- From: brett holcomb [mailto:[EMAIL PROTECTED]

Re: [gentoo-user] Any way to put the startup scripts in debug mode?

2003-03-03 Thread Todd Punderson
Check out /etc/init.d/service zap Todd - Original Message - From: Balaji Srinivasan [EMAIL PROTECTED] To: 'brett holcomb' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 03, 2003 3:38 PM Subject: RE: [gentoo-user] Any way to put the startup scripts in debug mode? The problem as

RE: [gentoo-user] Any way to put the startup scripts in debug mode?

2003-03-03 Thread Balaji Srinivasan
This doesnt help because now I have to find out if the process crashed before doing zap. I can understand why gentoo keeps the provides etc info in the /mnt/.init.d files. But why keep started etc in there. Even if it keeps it it should do a pid check before just complaining that it is already

Re: [gentoo-user] Any way to put the startup scripts in debug mode?

2003-03-03 Thread Andrew Dacey
I thought the stuff in /mnt/.init.d was tmpfs which means it's stored in memory. In that case, as soon as you reboot it will be wiped. I think the problem is that the pid is stored in /var/run/ and if there's already an existing file there, it's assumed the process is running. What might be nice