Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


gpio-shutdown overlay and Moode SIGTERM handling
#3
Hi Tim,

Thank you for your answer. Among other things, the hardware power button attached to the Audiophonic boards is wired to one GPIO pin. Pressing the button shutdowns the system (dtoverlay=gpio-shutdown,gpio_pin=17,active_low=0,gpio_pull=down added in config.txt).

I understand fom your answer that shutting down the sytem this way does not make Moode stop mpc playback (mpc stop), nor nginx (systemctl stop nginx).

Q1 : do you know wether mpc or nginx catch and process any shutdown related signal and do their own housekeeping ?
Q2 : if not, do you anticipate any issue raised from this "not fully" graceful shutdown ?

Best regards.

Philippe
Reply


Messages In This Thread
RE: gpio-shutdown overlay and Moode SIGTERM handling - by chano22000 - 11-25-2020, 01:09 PM

Forum Jump: