You need to get the programmer to add signal handlers for eg SIGUSR1 to stop reading (ie close handle on that 'old' file), & SIGUSR2 to start reading (open handle on new file).
If a prog doesn't have an explicit SIG handler, it'll do nothing or whatever the system default is (if anything), which usually only applies to things like SIGKILL, SIGTERM etc.
|