ECU knows when the engine is running from at least several sensor CPS giving it exact RPMs. When you crank the ignition, that's when the pump is activated permanently until you shut off power.
My guess is you're applying the power to a pin that gets energized when key is turned in START/CRANK position.
Thanks for the response. Any idea what wires are what on the ME.7 B5 S4 ECU? I've been checking this pin-out
I'm assuming I really only have to ground 1,2 and obviously get power to 3,62 but which one gets switched and which gets constant? Currently I have 62 on constant and 3 on switched