dispatcher (NOHUP mode)->daemon->shell script (parent
PID)->executables(child PIDs)
When we try to kill shell script (parent PID) with kill-9 command, I
am expecting that all executables (child PIDs) that are running from
shell script should also be killed.
Shell script process is getting killed but not the child processes.
I tried read all the messages patiently but it added up more
confusions.
I found a way to kill all child processes before killing parent shell
script but trying to find a answer for this behaviour.
Any expert responses are welcome.
Cheers,
Srinivas