I wire the fuel pumps using a five pin 30a relay:
Pin 30.......to pump.
Pin 85.......to ignition 12v.
Pin 86.......to engine oil pressure switch.
Pin 87.......to crank wire @ ignition. (12v only when engine is cranking)
Pin 87a.....to ignition 12v.
Fuel pump runs when cranking the engine only, then once oil pressure is present (engine started) the relay switches to run the pump continuously.
The pump will not run if the engine stalls or you just want the ignition on for CEL testing etc.