diff options
author | Christopher Baines <mail@cbaines.net> | 2019-06-07 07:33:34 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-06-07 07:33:34 +0100 |
commit | 42c608e00417a3f57f9c410daca1f84b3f9550bc (patch) | |
tree | f155994d260013ee6b5e0d78c4b27aef1a411fcd /guix-data-service/config.scm.in | |
parent | 33cf8d66f6076d0690f286eea7084a36417a6cb2 (diff) | |
download | data-service-42c608e00417a3f57f9c410daca1f84b3f9550bc.tar data-service-42c608e00417a3f57f9c410daca1f84b3f9550bc.tar.gz |
Add a --update-database option
This runs Sqitch on startup, which should make managing the database easier,
as you just have to restart the service with this option, and the database
should be updated if necessary.
Diffstat (limited to 'guix-data-service/config.scm.in')
-rw-r--r-- | guix-data-service/config.scm.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/guix-data-service/config.scm.in b/guix-data-service/config.scm.in index d2e699b..ad6452a 100644 --- a/guix-data-service/config.scm.in +++ b/guix-data-service/config.scm.in @@ -30,6 +30,12 @@ ;; TODO: use @assetsdir@ variable here "@prefix@/share/guix-data-service/assets"))) (host . "localhost") - (port . 8765)))) + (port . 8765) + + (sqitch . "@sqitch@") + + (database-user . "guix_data_service") + (database-host . "localhost") + (database-name . "guix_data_service")))) (lambda (key) (assoc-ref config key)))) |