Socket files (.socket) should always be WantedBy=gear.target because they're intended to be lazily started.  So no need to change this file - just write the socket file as WantedBy=gear.target when it's created (you may not even need to do the definition).