Adding LibreTranslate params with Gunicorn

This seems to be failing with multiple params:

ExecStart=/home/libretranslate/LibreTranslate/env/bin/gunicorn --workers 3 --bind unix:libretranslate.sock -m 007 'wsgi:app(api_keys=True, require-api-key-origin=True, req-limit="0", get-api-key-link=True)'

Maybe the issue is some interaction with Systemd?

Based on the command reported above, it could be just the name of the parameters. (Use underscores, not dashes, e.g. require_api_key_origin instead of require-api-key-origin).

1 Like