summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-31 22:38:14 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-31 22:38:14 +0100
commitbfb81f635aef0056e5bef11aa9e0fd355c395b67 (patch)
treea712295c9c2d925a1450a8bb73b8357a73a18a59 /debian
parent6b70f2e45476c573da5d367734f964ded80659eb (diff)
downloadexchange-bfb81f635aef0056e5bef11aa9e0fd355c395b67.tar.gz
exchange-bfb81f635aef0056e5bef11aa9e0fd355c395b67.tar.bz2
exchange-bfb81f635aef0056e5bef11aa9e0fd355c395b67.zip
reload systemd after installing/deleting service files
Diffstat (limited to 'debian')
-rw-r--r--debian/taler-exchange.install1
-rw-r--r--debian/taler-exchange.postinst2
-rw-r--r--debian/taler-exchange.postrm6
3 files changed, 8 insertions, 1 deletions
diff --git a/debian/taler-exchange.install b/debian/taler-exchange.install
index 04fc74fa..867d78f2 100644
--- a/debian/taler-exchange.install
+++ b/debian/taler-exchange.install
@@ -1,3 +1,2 @@
etc/taler.conf
usr/bin/
-usr/lib/*/taler/
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst
index 89f1403b..356ad98d 100644
--- a/debian/taler-exchange.postinst
+++ b/debian/taler-exchange.postinst
@@ -174,6 +174,8 @@ Restart=on-failure
ExecStart=/usr/bin/taler-exchange-aggregator -c /etc/taler.conf
EOF
+ systemctl daemon-reload
+
cp -f "${CONFIG_NEW}" "${CONFIG_FILE}"
echo " done."
diff --git a/debian/taler-exchange.postrm b/debian/taler-exchange.postrm
index e2cba9d4..ed5a2b2c 100644
--- a/debian/taler-exchange.postrm
+++ b/debian/taler-exchange.postrm
@@ -65,6 +65,12 @@ case "${1}" in
fi
rm -rf /var/log/taler/ /var/lib/taler /etc/default/taler
+ for X in httpd helper-rsa helper-eddsa wirewatch transfer
+ do
+ rm -f /etc/systemd/system/taler-exchange-${X}.service
+ done
+ systemctl daemon-reload
+
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)