Detach the database setup from the main guix-data-service process

This will allow restarting them independently, leaving it up to the operator
to ensure that all processes are compatible.
This commit is contained in:
Christopher Baines 2023-06-09 13:27:12 +01:00
parent 5c9ec28cb5
commit 29d49ba31a
3 changed files with 64 additions and 50 deletions

View file

@ -65,6 +65,8 @@
%default-options))
(let ((opts (parse-options (cdr (program-arguments)))))
(run-sqitch)
(with-postgresql-connection
"process-jobs"
(lambda (conn)