Igniting by movement of a solid electrode