forked from mirrors/nixpkgs
redis: fix redis service
This commit is contained in:
parent
8a6c765832
commit
9c6f9c4068
|
@ -12,7 +12,7 @@ let
|
|||
${condOption "bind" cfg.bind}
|
||||
${condOption "unixsocket" cfg.unixSocket}
|
||||
daemonize no
|
||||
supervised systemd
|
||||
#supervised systemd
|
||||
loglevel ${cfg.logLevel}
|
||||
logfile ${cfg.logfile}
|
||||
syslog-enabled ${redisBool cfg.syslog}
|
||||
|
@ -244,7 +244,7 @@ in
|
|||
StateDirectory = "redis";
|
||||
TimeoutStartSec = "infinity";
|
||||
TimeoutStopSec = "infinity";
|
||||
Type = "notify";
|
||||
Type = "simple";
|
||||
User = "redis";
|
||||
Group = "redis";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue