I want to modify the path to a city. The path goes straight into the city, but I want it to stop before the gates to the city.

How do I do that?