gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: do not fail during postinst if s


From: gnunet
Subject: [taler-merchant] branch master updated: do not fail during postinst if systemctl is unavailable
Date: Thu, 28 Jan 2021 14:31:58 +0100

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 719854d4 do not fail during postinst if systemctl is unavailable
719854d4 is described below

commit 719854d4879b54d27552bbbfc9f66a20eb8dd2cc
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Jan 28 14:31:56 2021 +0100

    do not fail during postinst if systemctl is unavailable
---
 debian/taler-merchant.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/taler-merchant.postinst b/debian/taler-merchant.postinst
index 5cfb4e02..f5ed9c4d 100644
--- a/debian/taler-merchant.postinst
+++ b/debian/taler-merchant.postinst
@@ -102,7 +102,7 @@ Restart=on-failure
 ExecStart=/usr/bin/taler-merchant-httpd -c /etc/taler-merchant.conf
 EOF
 
-        systemctl daemon-reload
+        systemctl daemon-reload >/dev/null 2>&1 || true
 
         cp -f "${CONFIG_NEW}" "${CONFIG_FILE}"
            echo " done."

-- 
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]