SHA256
1
0
forked from pool/redis
Go to file
2015-05-18 20:24:11 +00:00
.gitattributes osc copypac from project:server:database package:regis revision:2 2010-02-24 22:49:48 +00:00
.gitignore osc copypac from project:server:database package:regis revision:2 2010-02-24 22:49:48 +00:00
README.SUSE Accepting request 294021 from home:darix:apps 2015-04-01 16:53:07 +00:00
redis-3.0.1.tar.gz Accepting request 307517 from home:Ledest:bashisms 2015-05-17 01:44:22 +00:00
redis-conf.patch None 2014-12-06 02:22:00 +00:00
redis-enable-bactrace-on-x86-and-ia64-only.patch Accepting request 294142 from home:darix:apps 2015-04-02 11:21:30 +00:00
redis-initscript.patch Accepting request 142125 from home:vjt:ifad 2012-11-20 14:14:50 +00:00
redis.changes Accepting request 307517 from home:Ledest:bashisms 2015-05-17 01:44:22 +00:00
redis.logrotate Accepting request 180755 from home:vjt:ifad 2013-07-01 08:22:41 +00:00
redis.spec Accepting request 307517 from home:Ledest:bashisms 2015-05-17 01:44:22 +00:00
redis.target Accepting request 294021 from home:darix:apps 2015-04-01 16:53:07 +00:00
redis.tmpfiles.d Accepting request 294021 from home:darix:apps 2015-04-01 16:53:07 +00:00
redis@.service Accepting request 294021 from home:darix:apps 2015-04-01 16:53:07 +00:00

 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