07-05-2024, 09:00 PM
Why not have a script that checks the status of the mpd_oled service ?
e.g:
Change the echo to start/stop as appropriate.
e.g:
Code:
if (systemctl is-active --quiet service); then
echo -e "SERVICE is Running!"
else
echo -e "SERVICE has Stopped status!"
fi
Change the echo to start/stop as appropriate.