postrm-server.in 287 B

123456789101112
  1. #!/bin/sh
  2. set -e
  3. if [ "$1" = "purge" ] ; then
  4. update-rc.d manticore remove >/dev/null
  5. fi
  6. # In case this system is running systemd, we make systemd reload the unit files
  7. # to pick up changes.
  8. if [ -d /run/systemd/system ] ; then
  9. systemctl --system daemon-reload >/dev/null || true
  10. fi