This commit is contained in:
zhangzhihan
2020-09-21 18:33:10 +08:00
parent 27d3231a6e
commit 05b56cb4ec
73 changed files with 846 additions and 262 deletions

View File

@@ -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/tsg/cert-redis/6379/6379.log"
logfile "/opt/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/tsg/cert-redis/6379/
dir /opt/tsg/cert-redis/6379/
################################# REPLICATION #################################

View File

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