FreeBSD rc tweak
Great project! :) I'm currently upgrading 0.19.1 -> 0.20.0-rc1 in my FreeBSD 12.0-RELEASE-p10 jail.
I noticed this line, which exists in the other scripts as well:
funkwhale_server_env=$(cat /usr/local/www/funkwhale/config/.env | grep -v ^# | xargs)
A better alternative would be:
funkwhale_server_env_file="/usr/local/www/funkwhale/config/.env"
Also, I'd probably add configuration knobs for the non-sensitive, likely-changed stuff & wrap the script with /usr/sbin/daemon as the supervisor process.
I'd submit a MR, but I'm currently short on time. If I have the chance, I'll do it this weekend. I might also open a separate issue I'm having with streaming from S3, unless this new version fixes it.