gCode Cura/OctoPi

A quick question.

If I have startup and end gCode for my printer in Cura should I duplicate it in OctoPi?

Thanks All

No, don't duplicate it or it will run twice.

You can't just copy gcode between the two - they have different variables and syntax as well.

Thanks Charlie