When putting a gas water heater in service, how long do you hold the pilot set button after the pilot is ignited ?

When putting a gas water heater in service, how long do you hold the pilot set button after the pilot is ignited ?