Thank you for your donation!


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


gpio-shutdown overlay and Moode SIGTERM handling
#2
Shutdown from moOde WebUI takes ~15 seconds and includes the following:

- Up to 3 secs for moOde's job processing daemon to wake up and process the "poweroff" job sent from the WebUI
- Poweroff job executes the script /var/local/www/commandw/restart.sh poweroiff
- The poweroff section in restart.sh stops playback, stops the nginx web server then executes linux poweroff command
- The poweroff command shuts Linux down and powers off the Raspberry Pi (power LED flashes 10 times)

moOde does not catch or process any SIGTERM signals.
I have no idea what the audiophonics power board does.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: gpio-shutdown overlay and Moode SIGTERM handling - by Tim Curtis - 11-25-2020, 12:04 PM

Forum Jump: