#!/bin/sh set -e case $1 in remove|purge|abort-install|disappear) echo " * Stopping Salt Server " if [ -x "/etc/init.d/salt-server" ]; then invoke-rc.d salt-server stop || echo " -- Salt server not stopped...something happens" fi ;; *) echo "Nothing to do" ;; esac #DEBHELPER#