uwsgi: stricter loading of plugins and app
This commit is contained in:
parent
39dd8acd90
commit
eb5691d342
@ -42,11 +42,11 @@ in
|
||||
makeWrapper ${uwsgi-python}/bin/uwsgi $out/bin/e11sync-backend \
|
||||
--chdir $out/app \
|
||||
--set-default E11SYNC_HTTP_PORT ${toString backendPort} \
|
||||
--add-flags "--plugin ${uwsgi-python}/lib/uwsgi/python3_plugin.so" \
|
||||
--add-flags "--need-plugin ${uwsgi-python}/lib/uwsgi/python3_plugin.so" \
|
||||
--add-flags "--python-path ${pythonEnv}/lib/${pythonEnv.libPrefix}/site-packages" \
|
||||
--add-flags "--http-socket 127.0.0.1:${toString backendPort}" \
|
||||
--add-flags "--wsgi-file e11sync/wsgi.py" \
|
||||
--add-flags --master \
|
||||
--add-flags "--master --need-app" \
|
||||
${lib.optionalString (databasePath != null) ''
|
||||
--set E11SYNC_DATABASE_PATH "${databasePath}" \
|
||||
''} \
|
||||
|
Loading…
Reference in New Issue
Block a user