Revision abee3636 htools/Ganeti/Confd/Server.hs
b/htools/Ganeti/Confd/Server.hs | ||
---|---|---|
438 | 438 |
-- | Inotify event handler. |
439 | 439 |
onInotify :: INotify -> String -> CRef -> MVar ServerState -> Event -> IO () |
440 | 440 |
onInotify inotify path cref mstate Ignored = do |
441 |
logInfo "File lost, trying to re-establish notifier"
|
|
441 |
logDebug "File lost, trying to re-establish notifier"
|
|
442 | 442 |
modifyMVar_ mstate $ \state -> do |
443 | 443 |
result <- addNotifier inotify path cref mstate |
444 | 444 |
(newfstat, _) <- safeUpdateConfig path (reloadFStat state) cref |
Also available in: Unified diff