I'm a bit confused as to see that going from one Linux distribution to another, the package managers will sometimes configure processes to create the socket file either in /tmp or in /var/run/%process%, but I'm seeing it as a standard in open source projects that you configure your applications to refer to the socket in /tmp, as if to normalize the two options.
I too have chosen to distribute a project's configuration to refer to the socket in /tmp. Now I'd like to know, for the sake of not overriding the defaults, if I'd like to link a socket from /var/run into /tmp, is there a safe way to do that?
I'm mostly asking this because I wouldn't like somebody to deal with spurious application errors because the /tmp directory got wiped clean and the socket link is no longer there.