hello
i'm trying to write a shell script which does something in a loop, ignores some signals (HUP,...) -etc. -> make it behave somewhat like a daemon. my problem: how can i communicate with my "daemon"? after having started the script as a background process, i would like to log off, log on some time later and send it a signal like "stop" to make it stop. how is this possible? "where" do i have to send the signal to?
i know of the possibility of killing processes with their PID, but i want to do it in another way.
thx for your help
woche
i'm trying to write a shell script which does something in a loop, ignores some signals (HUP,...) -etc. -> make it behave somewhat like a daemon. my problem: how can i communicate with my "daemon"? after having started the script as a background process, i would like to log off, log on some time later and send it a signal like "stop" to make it stop. how is this possible? "where" do i have to send the signal to?
i know of the possibility of killing processes with their PID, but i want to do it in another way.
thx for your help
woche