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.
This commit is contained in:
Christopher Baines 2019-06-07 07:33:34 +01:00
parent 33cf8d66f6
commit 42c608e004
3 changed files with 35 additions and 4 deletions

View file

@ -35,6 +35,8 @@ guilemoduledir="${datarootdir}/guile/site/${GUILE_EFFECTIVE_VERSION}"
AC_SUBST([guilemoduledir])
AC_SUBST([GUILE_EFFECTIVE_VERSION])
AC_PATH_PROG([sqitch], [sqitch])
dnl Substitute placeholders to generate these target files
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([guix-data-service/config.scm])