diff --git a/pkgs/e11sync-backend.nix b/pkgs/e11sync-backend.nix index dc5952a..f1d8ac5 100644 --- a/pkgs/e11sync-backend.nix +++ b/pkgs/e11sync-backend.nix @@ -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}" \ ''} \