Skip to content

Commit 6a2340f

Browse files
committed
More renaming from Redis -> KeyDB
I think this wouldn't break any user because we dont rely on environment variables...
1 parent 5fec9aa commit 6a2340f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

utils/redis_init_script renamed to utils/keydb_init_script

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/sh
22
#
3-
# Simple Redis init.d script conceived to work on Linux systems
3+
# Simple KeyDB init.d script conceived to work on Linux systems
44
# as it does use of the /proc filesystem.
55

66
### BEGIN INIT INFO
77
# Provides: redis_6379
88
# Default-Start: 2 3 4 5
99
# Default-Stop: 0 1 6
10-
# Short-Description: Redis data structure server
11-
# Description: Redis data structure server. See https://redis.io
10+
# Short-Description: KeyDB data structure server
11+
# Description: KeyDB data structure server. See https://redis.io
1212
### END INIT INFO
1313

1414
KeyDBPORT=6379
@@ -24,7 +24,7 @@ case "$1" in
2424
then
2525
echo "$PIDFILE exists, process is already running or crashed"
2626
else
27-
echo "Starting Redis server..."
27+
echo "Starting KeyDB server..."
2828
$EXEC $CONF
2929
fi
3030
;;
@@ -38,10 +38,10 @@ case "$1" in
3838
$CLIEXEC -p $KeyDBPORT shutdown
3939
while [ -x /proc/${PID} ]
4040
do
41-
echo "Waiting for Redis to shutdown ..."
41+
echo "Waiting for KeyDB to shutdown ..."
4242
sleep 1
4343
done
44-
echo "Redis stopped"
44+
echo "KeyDB stopped"
4545
fi
4646
;;
4747
*)

utils/redis_init_script.tpl renamed to utils/keydb_init_script.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ case "$1" in
1616
else
1717
PID=$(cat $PIDFILE)
1818
echo "Stopping ..."
19-
$CLIEXEC -p $REDISPORT shutdown
19+
$CLIEXEC -p $KeyDBPORT shutdown
2020
while [ -x /proc/${PID} ]
2121
do
2222
echo "Waiting for Redis to shutdown ..."

0 commit comments

Comments
 (0)