I use polytape, 1 strand 4 to 6 inches above ground, low impedance fence charger. The high impendence fence chargers I am not if they are still made. The weed burners. I use with sweet corn, plant around 10 pounds of seed. Keeps racoon out.I wonder if all electric fencing is banned by zoning, or if it would be around the perimeter of the OP’s yard? If the OP could string a few wires just around the coop and run, so they’re part of the structure, so to speak? I truly believe it would be more effective to repel 30-50 raccoons than to try to trap and kill them all. That’s a lot of bodies to dispose of!
I also use when I have raised pigs trains the pigs to stay in away from fence.
You could use multiple wires, but not necessary.
Chickens touch the electric wire they will stay away from it to.