diff --git a/utils/generate-commands-json.py b/utils/generate-commands-json.py --- a/utils/generate-commands-json.py +++ b/utils/generate-commands-json.py @@ -103,11 +103,11 @@ srcdir = os.path.abspath(os.path.dirname if __name__ == '__main__': opts = { 'description': 'Transform the output from `redis-cli --json` using COMMAND and COMMAND DOCS to a single commands.json format.', - 'epilog': f'Usage example: {argv[0]} --cli src/redis-cli --port 6379 > commands.json' + 'epilog': f'Usage example: {argv[0]} --cli src/redis-cli --port 6380 > commands.json' } parser = argparse.ArgumentParser(**opts) parser.add_argument('--host', type=str, default='localhost') - parser.add_argument('--port', type=int, default=6379) + parser.add_argument('--port', type=int, default=6380) parser.add_argument('--cli', type=str, default='%s/redis-cli' % srcdir) args = parser.parse_args() diff --git a/utils/install_server.sh b/utils/install_server.sh --- a/utils/install_server.sh +++ b/utils/install_server.sh @@ -60,7 +60,7 @@ SCRIPT=$(readlink -f $0) SCRIPTPATH=$(dirname $SCRIPT) #Initial defaults -_REDIS_PORT=6379 +_REDIS_PORT=6380 _MANUAL_EXECUTION=false echo "Welcome to the redis service installer" @@ -212,7 +212,7 @@ REDIS_CHKCONFIG_INFO=\ # chkconfig: - 58 74\n # description: redis_${REDIS_PORT} is the redis daemon.\n ### BEGIN INIT INFO\n -# Provides: redis_6379\n +# Provides: redis_6380\n # Required-Start: \$network \$local_fs \$remote_fs\n # Required-Stop: \$network \$local_fs \$remote_fs\n # Default-Start: 2 3 4 5\n diff --git a/utils/redis-sha1.rb b/utils/redis-sha1.rb --- a/utils/redis-sha1.rb +++ b/utils/redis-sha1.rb @@ -46,7 +46,7 @@ def redisSha1(opts={}) end host = ARGV[0] || "127.0.0.1" -port = ARGV[1] || "6379" +port = ARGV[1] || "6380" db = ARGV[2] || "0" puts "Performing SHA1 of Redis server #{host} #{port} DB: #{db}" p "Dataset SHA1: #{redisSha1(:host => host, :port => port.to_i, :db => db)}" diff --git a/utils/redis_init_script b/utils/redis_init_script --- a/utils/redis_init_script +++ b/utils/redis_init_script @@ -4,14 +4,14 @@ # as it does use of the /proc filesystem. ### BEGIN INIT INFO -# Provides: redis_6379 +# Provides: redis_6380 # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Redis data structure server # Description: Redis data structure server. See https://redis.io ### END INIT INFO -REDISPORT=6379 +REDISPORT=6380 EXEC=/usr/local/bin/redis-server CLIEXEC=/usr/local/bin/redis-cli