If file modified execute a script
I have some server application running on FC6 but clients loose contact unless they restart client application after server ip has changed. And it changes once a day I think. I have inadyn running since clients connect to dyndns address but they still can't reconnect unless they restart client tool or I restart server application.
So I was hoping there is a way to run something that would restart server when it notices that inadyn.log file was modified. Since file is modified when it updates to new ip.
|