A facility gas heater that will not stay lit is usually reporting something cheaper than a control failure.
The chain
Fuel. Confirm the supply, particularly where a building runs from an on-site tank. A low tank behaves like a broken valve.
Proving. Thermocouple or flame sensor, measured rather than inferred.
Air and vent. After a closed season, a flue can be packed with needles and nests.
The control. Fourth, not first.
Burner and flue. Checked for soot once it lights.
Start-up is the risky moment
The building has been shut since early October. Everything in the chain has been idle, and the first attempt to light it tests all of them at once.
That is why a start-up visit should include the flue and the proving circuit, not just a relight.
The replacement
Gas isolated, correct control, joints leak-tested, a full cycle with the flue watched.
Safety
A gas smell means clearing the building before telephoning the supplier or emergency services. Soot, scorching or spillage also keep the unit out of service.
Planning
Do it in a shoulder month. A control failure during a booked week takes a shower block out of service.
What to have ready
Building, fuel, symptom timing, age.