diff --git a/debian/taler-exchange.install b/debian/taler-exchange.install index 04fc74fa9..867d78f25 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 89f1403b3..356ad98d0 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 e2cba9d46..ed5a2b2c6 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)