Added chmod on unix socket file and config option