0b1ad96621
- make sure we do not daemonize - finished systemd support - update to 2.8.19 OBS-URL: https://build.opensuse.org/request/show/294021 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=60
30 lines
902 B
Plaintext
30 lines
902 B
Plaintext
README.SUSE
|
|
-------------
|
|
|
|
1. copy /etc/redis/default.conf.example to /etc/redis/default.conf (or
|
|
/etc/redis/otherapp.conf and so on) For the example we will use
|
|
otherapp.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/otherapp.pid
|
|
logfile /var/log/redis/otherapp.log
|
|
dir /var/lib/redis/otherapp/
|
|
|
|
If you want to run more than one instance you also have to change the
|
|
socket path and/or the ip:port combination.
|
|
|
|
Also make sure if you copy configurations from somewhere, that "daemonize"
|
|
should be set to "no".
|
|
|
|
3. create the database dir:
|
|
$ install -d -m redis -g redis -m 0750 /var/lib/redis/otherapp/
|
|
|
|
4. systemctl start redis@otherapp
|
|
5. systemctl enable redis@otherapp
|
|
|
|
6. to interact with all instances at the same time use:
|
|
|
|
systemctl restart redis.target
|
|
systemctl stop redis.target
|