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