I am strongly discouraging this. Distributing the IP address in source code can get them flagged by some "security" software as C&C server (happened to my dirauth, caused a bunch of trouble but people knew to talk to me). We tell non-exits they basically don't have to worry about running a relay and I think that's no longer true with an opt-out process.