Einstein's grandfather clock

the Einstein clock is a set of parallel mirrors with a flash of light bouncing between the mirrors serving as a pendulum. it is a particularly nice way of illustrating time-dilation in special relativity. how would the path of the flash of light look like if the Einstein clock was inside a gravitational field (or was accelerated)?