Closed jo-me closed 3 years ago
@jo-me Thanks a lot for all your valuable feedback! To be honest, being a systemd-newbie, radiodawg.service has so far just been a "quick and dirty" solution for getting things to work on my system. The linked PR addresses almost all of your suggestions, but I prefer to stick with python (Python 2.7), since the plain-vanilla Volumio OS for RPi doesn't come with python3.
Hi, thanks for sharing this script.
I had problems getting it to run as systemd service. It was stuck on "activating" and never printed any logs.
Had more luck with this service description:
notice the "-u" parameter in ExecStart for unbuffered output. Without it I could not see any logs in "systemctl status .." . Maybe all the flushes in the python script become obsolete with this change.
Cheers