Open Mazvy opened 1 year ago
I was having issues too. Using journalctl to look at the logs of the scream service, I saw that pulseaudio (or more accurately libpulse-dev) was throwing a "connection refused" error. In my case, this was because pulseaudio was starting with a different user than scream when scream was run through systemd I think. The solution I found is to create a pulseaudio service (as is implied by the "Wants" line in the scream service file), that starts pulseaudio with the same user as the scream service. I also kept the delay at 30 seconds instead of 3, but that's because pulse takes ~20s to start on my raspi 3, so it had time to try and fail to start 5 times (the max before it stops trying) when pulse was not yet done starting. You can play with the sleep time and RestartSec value to find a conf that works for you.
In any case, if you have an issue, you can start by looking at the scream service logs by doing journalctl -u scream.service -f
I followed the #155 issue and the service file is not working at all.
Has there been any changes to scream that broke it? Does anyone have a working service file?
Thanks!