On the wave excitation and a generalized torque formula for Lindblad resonances excited by external potential