History | View | Annotate | Download (3.1 kB)
Mainloop: handle sigterm
This fixes removals of the pid files and clean exit in the init script
Reviewed-by: iustinp
Mainloop: init sigchld_handler as None
There is no point in initializing sigchld_handler as an empty dict, whenit will be overwritten by an instance of utils.SignalHandlerimmediately after.
Add daemon library with mainloop
This mainloop can be used in daemons like ganeti-noded.