[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: configuring other
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: configuring other twists |
Date: |
Tue, 11 Jun 2019 14:56:14 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 67e29b2 configuring other twists
67e29b2 is described below
commit 67e29b2cddb42e7a6a219e4e13ca865966682609
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jun 11 14:56:06 2019 +0200
configuring other twists
---
config/generate-config | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/config/generate-config b/config/generate-config
index 12fac57..6b844d1 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -313,8 +313,40 @@ def main(currency, envname, outdir, shared_outdir,
exchange_pub, standalone):
if outdir:
os.makedirs(outdir, exist_ok=True)
+
tc = os.path.join(outdir, "taler.conf")
cfg_write(open(tc, "w"))
+
+ if "test" == envname:
+
+ # Emptying all first.
+ sections = OrderedDict()
+
+ # Twisting the exchange.
+ cfg_put("twister", "serve", "unix")
+ cfg_put("twister", "chaos_rate", "20")
+ cfg_put("twister", "destination_base_url",
"https://exchange.test.taler.net/")
+ cfg_put("twister", "serve_unixpath",
"$HOME/sockets/twister-exchange.http")
+ cfg_put("twister", "serve_unixmode", "660")
+ cfg_put("twister", "unixpath",
"$HOME/sockets/twister-exchange-control.sock")
+ cfg_put("twister", "unix_match_uid", "no")
+ cfg_put("twister", "unix_match_gid", "yes")
+
+ tc_twister_exchange = os.path.join(outdir, "twister-exchange.conf")
+ cfg_write(open(tc_twister_exchange, "w"))
+
+ # Twisting the bank.
+ cfg_put("twister", "serve", "unix")
+ cfg_put("twister", "chaos_rate", "20")
+ cfg_put("twister", "destination_base_url",
"https://bank.test.taler.net/")
+ cfg_put("twister", "serve_unixpath",
"$HOME/sockets/twister-bank.http")
+ cfg_put("twister", "serve_unixmode", "660")
+ cfg_put("twister", "unixpath",
"$HOME/sockets/twister-bank-control.sock")
+ cfg_put("twister", "unix_match_uid", "no")
+ cfg_put("twister", "unix_match_gid", "yes")
+
+ tc_twister_bank = os.path.join(outdir, "twister-bank.conf")
+ cfg_write(open(tc_twister_bank, "w"))
else:
cfg_write(sys.stdout)
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: configuring other twists,
gnunet <=