I have written a web-based point of service application (SUSE 7.0 (but going to 7.2 shortly), Apache web-server & Netscape browser) that has a background process which controls its transaction processing. I have left in the CTRL-ALT-BACKSPACE command just in case the user gets into somewhere from which there is no escape. This works well, but does not kill the background process - so when the windows manager restarts, an additional run of the background process is started.
Has anyone ever scripted a check for and kill of a specific existing background process? I'm looking for a sample/direction.