From: Michael Tremer Date: Sun, 15 Jun 2025 14:01:27 +0000 (+0000) Subject: API: Initialize the backend X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=190d9613d6085bb016d21c83ad3c3210905ae08a;p=pbs.git API: Initialize the backend Signed-off-by: Michael Tremer --- diff --git a/src/api/__init__.py b/src/api/__init__.py index e8d2bddc..fbc47741 100644 --- a/src/api/__init__.py +++ b/src/api/__init__.py @@ -18,6 +18,12 @@ # # ############################################################################### +from .. import Backend + +# Initialize the backend +backend = Backend("/etc/pakfire/pbs.conf") +#backend.launch_background_tasks() + # Import the app from .app import app