A gas-fired smoker constitutes a cabinet for holding food products to be cooked. A gas burner in the cabinet is connected to a source of flammable gas by means of a valve. The gas burner heats the cabinet and thereby cooks the food products. In one embodiment a pilot light ignites the flammable gas at the gas burner. A control circuit powered by a DC source controls the operation of the gas-fired smoker including igniting and extinguishing the gas burner in order to maintain a cooking temperature in the cabinet. A battery powers the control system. In another embodiment a rechargeable battery is recharged by a Seebeck thermal electric generator that is exposed to the heat from the gas burner.