Most modern Linux distros prefer what was /var/run to be located at /run now. Fedora actually symlinks /var/run -> /run. I think most other mainstream distros do this also.
I think that it would be nice to be able to specify the default "run" directory at config time. I see that right now it's located in spnav.h (via the SOCKNAME and PIDFILE defines) with no option for configuration of only the directory. Maybe simply add a RUN_DIR define at the very least and use that for the SOCK_NAME and PIDFILE defines as the first cut if no one steps up to implement the configuration option?
Most modern Linux distros prefer what was /var/run to be located at /run now. Fedora actually symlinks /var/run -> /run. I think most other mainstream distros do this also.
I think that it would be nice to be able to specify the default "run" directory at config time. I see that right now it's located in spnav.h (via the SOCKNAME and PIDFILE defines) with no option for configuration of only the directory. Maybe simply add a RUN_DIR define at the very least and use that for the SOCK_NAME and PIDFILE defines as the first cut if no one steps up to implement the configuration option?