if [ "$1" = "remove" ]; then
    if [ -x "/usr/bin/svctl" ]; then
        # stop and disable units since files are about to be removed
        svctl stop #UNITFILES# || true
        svctl disable #UNITFILES# || true
        svctl update || true
    fi
fi
