diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/guix-data-service.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/guix-data-service.in b/scripts/guix-data-service.in index 7653562..d8b9b5a 100644 --- a/scripts/guix-data-service.in +++ b/scripts/guix-data-service.in @@ -37,6 +37,7 @@ (guix-data-service config) (guix-data-service database) (guix-data-service substitutes) + (guix-data-service model guix-revision-package-derivation) (guix-data-service web server) (guix-data-service web controller) (guix-data-service web nar controller)) @@ -217,6 +218,13 @@ (pid-file (assq-ref opts 'pid-file))) + (call-with-new-thread + (lambda () + (with-postgresql-connection-per-thread + "backfill" + (lambda () + (backfill-guix-revision-package-derivation-distribution-counts))))) + (when pid-file (call-with-output-file pid-file (lambda (port) |