taler-merchant.prerm (390B)
1 #!/bin/sh 2 3 set -e 4 5 # --no-start also suppresses debhelper's stop-on-remove snippet on Trixie. 6 # Stop the product explicitly on removal, while leaving upgrades passive. 7 if [ -d /run/systemd/system ] && [ "$1" = remove ]; 8 then 9 deb-systemd-invoke stop 'taler-merchant.target' >/dev/null || true 10 deb-systemd-invoke stop 'taler-merchant.slice' >/dev/null || true 11 fi 12 13 #DEBHELPER# 14 15 exit 0