It's an (very) old expression for lighting a fuse, most likely on an old mortar or cannon - very likely a British expression as I first heard it on the Goon Show, many moons ago. Thats about the depth of my knowledge