Skip to content

Commit

Permalink
More renaming from Redis -> KeyDB
Browse files Browse the repository at this point in the history
I think this wouldn't break any user because we dont rely on
environment variables...
  • Loading branch information
hbina committed Oct 3, 2020
1 parent 5fec9aa commit 6a2340f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions utils/redis_init_script → utils/keydb_init_script
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
;;
Expand All @@ -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
;;
*)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..."
Expand Down

0 comments on commit 6a2340f

Please sign in to comment.