11-25-2020, 11:23 AM
(This post was last modified: 11-25-2020, 11:25 AM by chano22000.
Edit Reason: typo
)
Hi,
I just installed the latest moode version on an Audiophonics HiFi streamer (fantastic quality and value for the money - https://www.audiophonics.fr/en/network-a...13100.html).
The device embeds a separate power supply and management board (https://www.audiophonics.fr/en/raspberry...11504.html). Pressing the front panel hardware button shutdowns the system handeld by a gpio-shutdown overlay.
The time needed to shutdown the sytem this way is significantly shorter than when Moode is shutdown through its interface.
Does-it mean than the graceful shutdown is not the same in both cases ? When shutdown is requested through the UI Moode issues a "mpc stop" and "systemctl stop nginx".
I understand (I am not a Linux expert) that shutdown (as well as reboot, poweroff ?) sends a sigterm signal to Moode (and other processes)
Q1 : does Moode catch the signal to do the housekeeping ?
Q2 : if not, what are the consequences of a hardware shutdown.
Thank you.
Regards.
Philippe
I just installed the latest moode version on an Audiophonics HiFi streamer (fantastic quality and value for the money - https://www.audiophonics.fr/en/network-a...13100.html).
The device embeds a separate power supply and management board (https://www.audiophonics.fr/en/raspberry...11504.html). Pressing the front panel hardware button shutdowns the system handeld by a gpio-shutdown overlay.
The time needed to shutdown the sytem this way is significantly shorter than when Moode is shutdown through its interface.
Does-it mean than the graceful shutdown is not the same in both cases ? When shutdown is requested through the UI Moode issues a "mpc stop" and "systemctl stop nginx".
I understand (I am not a Linux expert) that shutdown (as well as reboot, poweroff ?) sends a sigterm signal to Moode (and other processes)
Q1 : does Moode catch the signal to do the housekeeping ?
Q2 : if not, what are the consequences of a hardware shutdown.
Thank you.
Regards.
Philippe