修改部分部署bug,调整双臂模式部署

This commit is contained in:
zhangzhihan
2020-03-30 13:35:40 +08:00
parent f498412f66
commit 0d32f30299
6 changed files with 19 additions and 13 deletions

View File

@@ -147,7 +147,7 @@ supervised no
#
# Creating a pid file is best effort: if Redis is not able to create it
# nothing bad happens, the server will start and run normally.
pidfile /var/run/redis_7001.pid
pidfile /var/run/redis_6379.pid
# Specify the server verbosity level.
# This can be one of:
@@ -160,7 +160,7 @@ loglevel notice
# Specify the log file name. Also the empty string can be used to force
# Redis to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null
logfile "/home/ceiec/maat-redis/7001/7001.log"
logfile "/home/tsg/cert-redis/6379/6379.log"
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
# and optionally update the other syslog parameters to suit your needs.
@@ -244,7 +244,7 @@ dbfilename dump.rdb
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir /home/ceiec/maat-redis/7001/
dir /home/tsg/cert-redis/6379/
################################# REPLICATION #################################

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#
/usr/local/bin/redis-server /home/ceiec/cert-redis/6379/6379.conf
/usr/local/bin/redis-server /home/tsg/cert-redis/6379/6379.conf