idcrook / shairport-sync-mqtt-display

Display currently playing info, with remote control, using shairport-sync's MQTT support
MIT License
31 stars 6 forks source link

handle termination gracefully #30

Closed idcrook closed 5 years ago

idcrook commented 5 years ago

Handle exit gracefully. This is things like: turn off the backlight and clear the display.

Right now, systemd sends a SIGTERM signal when the service is stopped, and there's no proper handling of it. So when it exits this way, the display just stays on with whatever was the last message shown.

idcrook commented 5 years ago

fixed in #31