if you're selling code and actually shipping that code to the client AND it has open-source material (with a license requiring it, a la GPL) then you have to open source all of your material as well.
if you're running it privately theres no need in most cases.