summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-28 14:31:56 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-28 14:31:56 +0100
commit719854d4879b54d27552bbbfc9f66a20eb8dd2cc (patch)
treebd22480b4b55de3f92347f574e358f3fcd0917c9 /debian
parent27c000a6cd8793a96a548656dff3a0ce0036f5af (diff)
downloadmerchant-719854d4879b54d27552bbbfc9f66a20eb8dd2cc.tar.gz
merchant-719854d4879b54d27552bbbfc9f66a20eb8dd2cc.tar.bz2
merchant-719854d4879b54d27552bbbfc9f66a20eb8dd2cc.zip
do not fail during postinst if systemctl is unavailable
Diffstat (limited to 'debian')
-rw-r--r--debian/taler-merchant.postinst2
1 files changed, 1 insertions, 1 deletions
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."