]> git.ipfire.org Git - pbs.git/commitdiff
API: Initialize the backend
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 15 Jun 2025 14:01:27 +0000 (14:01 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 15 Jun 2025 14:01:27 +0000 (14:01 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/api/__init__.py

index e8d2bddc2a9f8b8a75403d15090bd4267b236445..fbc477412822a2b4bb62cfe3a0883a38653cdee8 100644 (file)
 #                                                                             #
 ###############################################################################
 
+from .. import Backend
+
+# Initialize the backend
+backend = Backend("/etc/pakfire/pbs.conf")
+#backend.launch_background_tasks()
+
 # Import the app
 from .app import app