summaryrefslogtreecommitdiff
path: root/debian/taler-merchant.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/taler-merchant.prerm')
-rw-r--r--debian/taler-merchant.prerm13
1 files changed, 2 insertions, 11 deletions
diff --git a/debian/taler-merchant.prerm b/debian/taler-merchant.prerm
index 84d4c486..727964b0 100644
--- a/debian/taler-merchant.prerm
+++ b/debian/taler-merchant.prerm
@@ -2,17 +2,8 @@
set -e
-
-if [ -f /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
-fi
-. /usr/share/dbconfig-common/dpkg/prerm
-
-if [ -f /usr/share/dbconfig-common/dpkg/prerm.pgsql ]; then
- . /usr/share/dbconfig-common/dpkg/prerm.pgsql
- dbc_go taler-merchant "$@"
+if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
+ deb-systemd-invoke stop 'taler-merchant-httpd.service' >/dev/null || true
fi
-
-db_stop
exit 0