postgres-backup: add git config to look for CA certs
authorJulien Cristau <jcristau@debian.org>
Mon, 29 May 2017 18:38:44 +0000 (20:38 +0200)
committerJulien Cristau <jcristau@debian.org>
Mon, 29 May 2017 18:38:44 +0000 (20:38 +0200)
input/howto/postgres-backup.creole

index 23be181..b897514 100644 (file)
@@ -12,7 +12,7 @@ https://www.postgresql.org/docs/9.4/static/continuous-archiving.html
 }}}
 * clone dsa-misc:
 {{{
-  cd /usr/local && git clone https://db.debian.org/git/dsa-misc.git &&
+  cd /usr/local && git -c http.sslCAInfo=/etc/ssl/ca-debian/ca-certificates.crt clone https://db.debian.org/git/dsa-misc.git &&
   cd bin && ln -s ../dsa-misc/scripts/pg-backup/pg* .
 }}}
 * Add these to /etc/postgresql/9.1/main/postgresql.conf