A vacuum switch is installed on the inlet side of the pump. When water is drawn into the pump, the diaphragm of the switch falls and the contacts in the switch close, completing the circuit to burner. When flow stops, the switch opens and shuts off the burner.