summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-06-08 11:03:18 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-06-08 11:03:18 +0200
commita2f79f8167b50b6835585f2ef0bce38f219638fe (patch)
tree7ece710c9f3fb6747a42d51dc012396d4bf5bcff
parentd2cda72c335baa7c2109536e7714ceabb4d1a5bb (diff)
downloaddeployment-a2f79f8167b50b6835585f2ef0bce38f219638fe.tar.gz
deployment-a2f79f8167b50b6835585f2ef0bce38f219638fe.tar.bz2
deployment-a2f79f8167b50b6835585f2ef0bce38f219638fe.zip
Backoffice config.
-rwxr-xr-xconfig/generate-config12
1 files changed, 8 insertions, 4 deletions
diff --git a/config/generate-config b/config/generate-config
index 48bcaab..67e2011 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -87,11 +87,15 @@ def config(currency, envname, exchange_pub, standalone):
cfg_put("playground", "uwsgi_unixpath_mode", "660")
if standalone:
- cfg_put("backoffice-blog", "backend", "https://env.taler.net/{}/merchant-backend/".format(envname))
- cfg_put("backoffice-donations", "backend", "https://env.taler.net/{}/merchant-backend/".format(envname))
+ cfg_put("backoffice-all", "backend", "https://env.taler.net/{}/merchant-backend/".format(envname))
else:
- cfg_put("backoffice-blog", "backend", "https://backend.{}.taler.net/".format(envname))
- cfg_put("backoffice-donations", "backend", "https://backend.{}.taler.net/".format(envname))
+ cfg_put("backoffice-all", "backend", "https://backend.{}.taler.net/".format(envname))
+
+ # Keep only one back-office service for all instances, for simplicity.
+ cfg_put("backoffice-all", "uwsgi_serve", "unix")
+ cfg_put("backoffice-all", "uwsgi_unixpath_mode", "660")
+ cfg_put("backoffice-all", "uwsgi_unixpath", "$HOME/sockets/backoffice.uwsgi")
+ cfg_put("backoffice-all", "instances", "FSF default Tor")
cfg_put("merchant", "wireformat", "test")
cfg_put("merchant", "serve", "unix")