I had a look at Funkwhale and it looks very nice, thanks for the good work! I decided I would like to start using it at home. For this, I installed using the instructions here, which are fine. However, I am not using systemd, so I would like another way to start the service, beat, and worker.
So, my options would be either:
a) start the various services needed manually and write a script for that, or
b) use an openrc script ( or write one as soon as I got my manual script to work).
The celery parts i can start using:
/srv/funkwhale/virtualenv/bin/celery -A funkwhale_api.taskapp beat -l INFO
/srv/funkwhale/virtualenv/bin/celery -A funkwhale_api.taskapp worker -l INFO
I mainly have trouble running the Daphne part:
/srv/funkwhale/virtualenv/bin/daphne -b 127.0.0.1 -p 5000 config.asgi:application --proxy-headers &
This wont start and creates Django warnings:
django.core.exceptions.ImproperlyConfigured: Requested setting LOGGING_CONFIG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
I wouldn’t know where to start so just pointing to some manual startup-commands would already help. However, I cant find any documentation on this. Can someone point me to the right direction?
Thanks for any pointers,
Ps: Or maybe there already is an init script for openrc?