[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: checks
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: checks |
Date: |
Sat, 26 Jun 2021 09:01:01 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new dff10ce checks
dff10ce is described below
commit dff10cec5d40eb437709b7de227c2f9517700ae2
Author: ms <ms@taler.net>
AuthorDate: Sat Jun 26 09:00:58 2021 +0200
checks
---
bin/taler-deployment-config-instances | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/bin/taler-deployment-config-instances
b/bin/taler-deployment-config-instances
index 76dccdf..704cd88 100755
--- a/bin/taler-deployment-config-instances
+++ b/bin/taler-deployment-config-instances
@@ -114,7 +114,8 @@ def is_merchant_running():
def ensure_default_instance():
# Assumed is managed by ARM
- if is_merchant_running():
+ merchant_was_running = is_merchant_running()
+ if merchant_was_running:
print("Found running merchant, assuming is managed by ARM.
Terminating it")
system("taler-deployment-arm -k taler-merchant")
@@ -155,8 +156,10 @@ def ensure_default_instance():
merchant.terminate()
merchant.wait()
print("Merchant terminated, restarting it via ARM now.")
+
# Restarting the official ARM merchant.
- system("taler-deployment-arm -i taler-merchant")
+ if merchant_was_running:
+ system("taler-deployment-arm -i taler-merchant")
ensure_default_instance()
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: checks,
gnunet <=