11-25-2020, 01:09 PM
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
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