redis: fix redis service

This commit is contained in:
Jörg Thalheim 2020-05-30 10:32:17 +01:00
parent 8a6c765832
commit 9c6f9c4068
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92
1 changed files with 2 additions and 2 deletions

View File

@ -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";
}; };