Added a config directive for a Unix socket mask

Added a configuration directive to allow a user to specify the
permissions to be granted to the Unix socket file.  I followed
the format Pieter and Salvatore discusses in issue #85 (
https://github.com/antirez/redis/issues/85).
This commit is contained in:
Nathan Florea
2011-10-10 11:21:15 -07:00
committed by antirez
parent 1ca8deebef
commit 09cefcfbb3
6 changed files with 14 additions and 3 deletions

View File

@ -378,6 +378,7 @@ struct redisServer {
int port;
char *bindaddr;
char *unixsocket;
mode_t unixsocketperm;
int ipfd;
int sofd;
redisDb *db;