Revision f91c7223 daemons/ganeti-confd

b/daemons/ganeti-confd
199 199
  """Main CONFD function, executed with pidfile held
200 200

  
201 201
  """
202
  mainloop = daemon.Mainloop()
203

  
202 204
  # confd-level SimpleConfigReader
203 205
  reader = ssconf.SimpleConfigReader()
204 206

  
......
210 212
  wm = pyinotify.WatchManager()
211 213
  confd_event_handler = ConfdInotifyEventHandler(wm, reader)
212 214
  notifier = AsyncNotifier(wm, confd_event_handler)
213
  asyncore.loop()
215

  
216
  mainloop.Run()
214 217

  
215 218

  
216 219
def main():

Also available in: Unified diff