SHA256
1
0
forked from pool/redis

Accepting request 878769 from home:stroeder:branches:server:database

- replaced /var/run with /run for all PID file paths

OBS-URL: https://build.opensuse.org/request/show/878769
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=171
This commit is contained in:
Martin Pluskal
2021-03-18 14:23:57 +00:00
committed by Git OBS Bridge
parent a5451d0ee4
commit 1fff75378e
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".