From 6a2340fc4829dc6f65ec90aeb7fd38fa75b6642e Mon Sep 17 00:00:00 2001 From: Hanif Bin Ariffin Date: Sat, 3 Oct 2020 20:56:22 +0800 Subject: [PATCH] More renaming from Redis -> KeyDB I think this wouldn't break any user because we dont rely on environment variables... --- utils/{redis_init_script => keydb_init_script} | 12 ++++++------ .../{redis_init_script.tpl => keydb_init_script.tpl} | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) rename utils/{redis_init_script => keydb_init_script} (75%) rename utils/{redis_init_script.tpl => keydb_init_script.tpl} (95%) diff --git a/utils/redis_init_script b/utils/keydb_init_script similarity index 75% rename from utils/redis_init_script rename to utils/keydb_init_script index 314ada1a0..aedd20303 100755 --- a/utils/redis_init_script +++ b/utils/keydb_init_script @@ -1,14 +1,14 @@ #!/bin/sh # -# Simple Redis init.d script conceived to work on Linux systems +# Simple KeyDB init.d script conceived to work on Linux systems # as it does use of the /proc filesystem. ### BEGIN INIT INFO # Provides: redis_6379 # 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 +# Short-Description: KeyDB data structure server +# Description: KeyDB data structure server. See https://redis.io ### END INIT INFO KeyDBPORT=6379 @@ -24,7 +24,7 @@ case "$1" in then echo "$PIDFILE exists, process is already running or crashed" else - echo "Starting Redis server..." + echo "Starting KeyDB server..." $EXEC $CONF fi ;; @@ -38,10 +38,10 @@ case "$1" in $CLIEXEC -p $KeyDBPORT shutdown while [ -x /proc/${PID} ] do - echo "Waiting for Redis to shutdown ..." + echo "Waiting for KeyDB to shutdown ..." sleep 1 done - echo "Redis stopped" + echo "KeyDB stopped" fi ;; *) diff --git a/utils/redis_init_script.tpl b/utils/keydb_init_script.tpl similarity index 95% rename from utils/redis_init_script.tpl rename to utils/keydb_init_script.tpl index 2e5b61301..67c5c6213 100755 --- a/utils/redis_init_script.tpl +++ b/utils/keydb_init_script.tpl @@ -16,7 +16,7 @@ case "$1" in else PID=$(cat $PIDFILE) echo "Stopping ..." - $CLIEXEC -p $REDISPORT shutdown + $CLIEXEC -p $KeyDBPORT shutdown while [ -x /proc/${PID} ] do echo "Waiting for Redis to shutdown ..."