2025-03-21, 01:11 PM
OpenPlotter is already doing that running this service when a shutdown GPIO is defined in openplotter-settings: https://github.com/openplotter/openplott...hutdown.py
but your approach is very interesting. gpio_shutdown_command is not documented anywhere, where did you get it from?
Add -15 argument to your commands to make sure the configuration files are saved before exiting:
pkill -15 opencpn
but your approach is very interesting. gpio_shutdown_command is not documented anywhere, where did you get it from?
Add -15 argument to your commands to make sure the configuration files are saved before exiting:
pkill -15 opencpn

