cp redis.conf redis6381.conf
pidfile /var/run/redis6381.pid
port 6381
logfile /var/log/redis/redis6381.log
dir /data/redis/redis6381
cd /etc/init.d
cp redis redis.6381
REDISPORT=6381
PIDFILE=/var/run/redis6381.pid
CONF="/etc/redis6381.conf"
chkconfig redis.6381 on
service redis.6381 start
阅读(804) | 评论(0) | 转发(0) |