Add in log, pids and socket dirs