gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] 02/03: follow-up


From: gnunet
Subject: [taler-deployment] 02/03: follow-up
Date: Tue, 18 Oct 2022 21:15:38 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository deployment.

commit eb402ff6f74779f636734e10f4db85cba7900baf
Author: MS <ms@taler.net>
AuthorDate: Tue Oct 18 20:57:48 2022 +0200

    follow-up
---
 docker/hybrid/images/postgres/init.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docker/hybrid/images/postgres/init.sh 
b/docker/hybrid/images/postgres/init.sh
new file mode 100644
index 0000000..04ac447
--- /dev/null
+++ b/docker/hybrid/images/postgres/init.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -eu
+
+createdb -U root -O root taler
+# Fixme: use taler-config.
+CUSTOM_PASSWORD=$(grep db-password < /config/deployment.conf | awk -F= '{print 
$2}' | tr -d "[:space:]")
+echo "ALTER ROLE root WITH PASSWORD '"${CUSTOM_PASSWORD}"';" | psql -U root

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]