I’d do it. I’d like to be the expert that can help them choose or maybe build the replacement.
There is no use in becoming an expert in an ancient system ridden with proprietary and obsolete parts, just so you can help one city maintain their ancient system. It's even worse than wanting to become a professional fax machine guru.
The problem, for an engineer considering this path, is that the gig ends before you want your career to end.