feat(worker): load config using shared helpers

BREAKING CHANGE: The worker `RMQ_CONFIG_FILE` environement variable has
been renamed to `LIBRETIME_CONFIG_FILEPATH`. In addition the systemd
working directory for the worker has changed from `/srv/airtime` to
`/var/lib/libretime/worker`.
This commit is contained in:
jo 2022-02-22 20:03:31 +01:00 committed by Kyle Robbertze
parent d42615eb6a
commit 9b6d657fd6
7 changed files with 29 additions and 36 deletions

View file

@ -24,9 +24,13 @@ setup(
install_requires=[
"celery==4.4.7",
"kombu==4.6.10",
"configobj",
"mutagen>=1.31.0",
"requests>=2.7.0",
],
extras_require={
"dev": [
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
],
},
zip_safe=False,
)