CuriousJames / DIYAC

Raspberry Pi Python code & PCB design project to control door access (access control) via a wiegand card and/or keypad reader, handles a doorbell too
6 stars 2 forks source link

Handle double SIGTERM #40

Open CuriousJames opened 4 years ago

CuriousJames commented 4 years ago

SystemCTL seems to always send SIGTERM at least twice - handle this in systemHandler

CuriousJames commented 4 years ago

Correction - it seems to often get this twice or more. but not always, not sure the cause - maybe due to amount of threads running, or previous ones?