Move datadirectory creation to rc.d file. Move pidfile location.