A system for pyrolysis of waste material, wherein the system comprises at least one rotary reactor, a quench unit and a burner unit, and the rotary tube reactor has a reactor drum that rotates about a longitudinal axis during operation and has a drum wall that encloses a reactor interior, conveying devices are arranged on the inside of the drum wall, which, when the reactor drum is rotating, cause the waste material to be processed to be conveyed, the reactor interior has at least one heating zone, a reaction zone and a degassing zone, the reactor drum has a waste material inlet as well as a pyrolysis solids outlet and a pyrolysis gas outlet and is enclosed by a heating jacket housing and is rotatably mounted, so that the reactor drum can rotate about its axis of rotation within the heating jacket housing, wherein the heating jacket housing encloses a heating jacket space which is bounded internally by the drum wall of the reactor drum, the burner unit is designed for burning gas to form a heating gas and for generating a heating gas flow through the heating jacket space and for this purpose is connected to the heating jacket housing via a heating gas supply line in such a way that the heating gas can be introduced into the heating jacket space, so that the reactor drum located in the heating jacket space can be heated indirectly from the outside by means of the heating gas, and the quench unit is connected to the gas outlet of the rotary tube reactor and is designed for cooling pyrolysis gases produced in the reactor interior during operation, characterised in that a plurality of heating gas outlet flaps are distributed over the length of the heating jacket housing, which make it possible to influence the flow of the heating gas through the heating jacket chamber in such a way that different amounts of heat can be supplied to the heating zone, the reaction zone and the degassing zone in the reactor interior. and in that the conveying devices are transport spirals which are formed by projections extending along a helical path and starting from the drum wall and projecting inwards into the reactor interior, the helical turns of the transport spirals having a different pitch in the reaction zone and in the degassing zone. the rotary tube reactor has a reactor drum that rotates about a longitudinal axis during operation and has a drum wall that encloses a reactor interior, conveying devices are arranged on the inside of the drum wall, which, when the reactor drum is rotating, cause the waste material to be processed to be conveyed, the reactor interior has at least one heating zone, a reaction zone and a degassing zone, the reactor drum has a waste material inlet as well as a pyrolysis solids outlet and a pyrolysis gas outlet and is enclosed by a heating jacket housing and is rotatably mounted, so that the reactor drum can rotate about its axis of rotation within the heating jacket housing, wherein the heating jacket housing encloses a heating jacket space which is bounded internally by the drum wall of the reactor drum, the burner unit is designed for burning gas to form a heating gas and for generating a heating gas flow through the heating jacket space and for this purpose is connected to the heating jacket housing via a heating gas supply line in such a way that the heating gas can be introduced into the heating jacket space, so that the reactor drum located in the heating jacket space can be heated indirectly from the outside by means of the heating gas, and the quench unit is connected to the gas outlet of the rotary tube reactor and is designed for cooling pyrolysis gases produced in the reactor interior during operation, characterised in that a plurality of heating gas outlet flaps are distributed over the length of the heating jacket housing, which make it possible to influence the flow of the heating gas through the heating jacket chamber in such a way that different amounts of heat can be supplied to the heating zone, the reaction zone and the degassing zone in the reactor interior. and in that the conveying devices are transport spirals which are formed by projections extending along a helical path and starting from the drum wall and projecting inwards into the reactor interior, the helical turns of the transport spirals having a different pitch in the reaction zone and in the degassing zone.