use smap dir in /var/run -- best practice