libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

libeufin-nexus.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 'libeufin-nexus.target' >/dev/null || true
     10     deb-systemd-invoke stop 'libeufin-nexus.slice' >/dev/null || true
     11 fi
     12 
     13 #DEBHELPER#
     14 
     15 exit 0