Accepting request 879905 from server:database

OBS-URL: https://build.opensuse.org/request/show/879905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/redis?expand=0&rev=67
This commit is contained in:
Dominique Leuenberger 2021-03-24 15:09:06 +00:00 committed by Git OBS Bridge
commit a3108b64ba
5 changed files with 13 additions and 8 deletions

View File

@ -15,13 +15,13 @@ chmod u=rw,g=r,o= /etc/redis/instancename.conf
2. change at least pidfile, logfile and dir setting
# the pid file *has* to match your config filename without the ".conf"
pidfile /var/run/redis/instancename.pid
pidfile /run/redis/instancename.pid
logfile /var/log/redis/instancename.log
dir /var/lib/redis/instancename/
If you want to run more than one instance you also have to change the
socket path and/or the ip:port combination.
e.g. /var/run/redis/instancename.sock
e.g. /run/redis/instancename.sock
Also make sure if you copy configurations from somewhere, that "daemonize"
should be set to "no".
@ -54,12 +54,12 @@ The chmod line differs from the line for the normal redis server.
2. change at least pidfile, logfile setting
# the pid file *has* to match your config filename without the ".conf"
pidfile /var/run/redis/instancename.pid
pidfile /run/redis/instancename.pid
logfile /var/log/redis/instancename.log
If you want to run more than one instance you also have to change the
socket path and/or the ip:port combination.
e.g. /var/run/redis/instancename.sock
e.g. /run/redis/instancename.sock
Also make sure if you copy configurations from somewhere, that "daemonize"
should be set to "no".

View File

@ -25,7 +25,7 @@ Index: redis.conf
# Note that on modern Linux systems "/run/redis.pid" is more conforming
# and should be used instead.
-pidfile /var/run/redis_6379.pid
+pidfile /var/run/redis/default.pid
+pidfile /run/redis/default.pid
# Specify the server verbosity level.
# This can be one of:
@ -62,7 +62,7 @@ Index: sentinel.conf
# /var/run/redis-sentinel.pid by default. You can specify a custom pid file
# location here.
-pidfile /var/run/redis-sentinel.pid
+pidfile /var/run/redis/sentinel-default.pid
+pidfile /run/redis/sentinel-default.pid
# Specify the log file name. Also the empty string can be used to force
# Sentinel to log on the standard output. Note that if you use standard

View File

@ -8,7 +8,7 @@ Type=notify
User=redis
Group=redis
PrivateTmp=true
PIDFile=/var/run/redis/sentinel-%i.pid
PIDFile=/run/redis/sentinel-%i.pid
ExecStart=/usr/sbin/redis-sentinel /etc/redis/sentinel-%i.conf
LimitNOFILE=10240
Restart=on-failure

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 13 14:28:47 UTC 2021 - Michael Ströder <michael@stroeder.com>
- replaced /var/run with /run for all PID file paths
-------------------------------------------------------------------
Thu Mar 4 13:21:32 UTC 2021 - Gareth McCarter <garethmccarter@gmail.com>

View File

@ -8,7 +8,7 @@ Type=notify
User=redis
Group=redis
PrivateTmp=true
PIDFile=/var/run/redis/%i.pid
PIDFile=/run/redis/%i.pid
ExecStart=/usr/sbin/redis-server /etc/redis/%i.conf
LimitNOFILE=10240
Restart=on-failure