Sending a signal to a process (Help me)
Hai,
I am intemediate linux programmer. In the part of one program, i have to send a signal notifiication to the parent process. The program is a daemon service, which reads the xml configuration file and transfers the file from one directory to another directory. These two directories are mentioned in the xml file. What is my problem is " the daemon must be restarted if this xml configuration file is changed/saved. And i know this can be done throug signal handling. How can i send the daemon process a signal when the xml file is modified "
Plz help me.
Thankx is advance.
Regards,
rajesh.
|