pimoroni / clean-shutdown

Python daemon to watch a GPIO pin and trigger a clean shutdown.
MIT License
126 stars 39 forks source link

When is the cleanshutd supposed to log? #29

Closed retrofreak83 closed 1 year ago

retrofreak83 commented 3 years ago

I recently installed the tool and an OnOffshim. I am wondering when/how it is supposed to actually do logging. I see a bunch of echo calls in cleanshutd, but, as far as my understanding regarding initscripts goes, a LOGFILE variable is defined but it is not used, nor does it redirect stdtout or stderr to LOGFILE.

However, the service itself works correctly and when I push the button to shutdown when logged in (via ssh for example), the wall is executed and I am informed that way.

Do I miss anything?