Mainloop: handle sigterm
authorGuido Trotter <ultrotter@google.com>
Fri, 17 Oct 2008 11:08:10 +0000 (11:08 +0000)
committerGuido Trotter <ultrotter@google.com>
Fri, 17 Oct 2008 11:08:10 +0000 (11:08 +0000)
commita570e2a84afc062135d0c4c3a273128a3ee68cf0
tree7e545f76d19d94100f27c954f212fda1c42b5286
parent07fc52893578b0bc530a2f10efaa3cfa5a9e4039
Mainloop: handle sigterm

This fixes removals of the pid files and clean exit in the init script

Reviewed-by: iustinp
lib/daemon.py