I have a shell account on a freebsd box with bash 2.05. Basically I want a process to start when I login, and I want it to stop when I logout.
I know how to have the process start when I login. I don't know how to make it stop when I logout. Is there some sort of .logout file? I don't have control over the runlevels so I can't use them.
Any suggestions?
I know how to have the process start when I login. I don't know how to make it stop when I logout. Is there some sort of .logout file? I don't have control over the runlevels so I can't use them.
Any suggestions?