In short, unless you must sell due to present circumstances, or the up-front opportunity is just plain pure gold, my opinion is that you're best off with "as few cooks in the kitchen as possible."
I'm not a lawyer, but I have been through this scenario before. Here are a few thoughts based on my own experience if you decide to sell:
1. Be prepared to spend 3-6 months of your time and big attorney bucks - I'd say $100K - $250K on a buy/sell agreement to cover your ass in every way possible, and just plain answering mind numbing questions as the buyer's auditors examine your business with a proctologist's microscope. You'll also need to check out the buyer - this will be a little easier if it's a public company, or at least it should be...
2. Get as much cash or unrestricted public stock from the buyer up-front as you would be happy getting total for the business because pay-later financing can very easily never get paid, and stock fortunes can disappear overnight.
3. Any mildy sophisticated buyer will want indemnifications related to representations and warranties you will make as to the business they're buying and implied or contractual obligations it has to historical customers, vendors, employees and other relationships. After the sale, these will become a liability for you personally during the warranty period even though they were previously shielded from you by your corporation or LLC. This is because, in effect you personally sold the corporation to the buyer.
4. As for the psychological side of it, working "for" someone is very different than being the owner. It is a slight relief in that you can demand things you're probably not getting now like a real vacation. Unless you're really lucky like I was, the new owner is very likely to treat you like an employee instead of a partner. Also, don't overlook the fact that some of your own former employees may become your peers as a result of the new organization after the sale, either in truth or in their own minds, and you may experience attempts at being "managed" by people who once worked for you.
Good luck in whatever path you choose!