servers often store their (main) process id in a "pid" file, and create a
(empty) lock file (by just touching it). if the startup script is called
twice, the lock file prevents the server to be lauched twice. when the
shutdown script is called, it removes the lock file, and usually gets the
server
I have a user process that needs to be shutdown cleanly on a reboot or a
halt. I tried simply placing a symlink to my script that will shut it
down named /etc/rc.d/rc6.d/K06killscript but did not work. It appears
rc will only call the script if this script exists (it does), or if it
can find a f