File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
#
3
- # Simple Redis init.d script conceived to work on Linux systems
3
+ # Simple KeyDB init.d script conceived to work on Linux systems
4
4
# as it does use of the /proc filesystem.
5
5
6
6
# ## BEGIN INIT INFO
7
7
# Provides: redis_6379
8
8
# Default-Start: 2 3 4 5
9
9
# 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
12
12
# ## END INIT INFO
13
13
14
14
KeyDBPORT=6379
@@ -24,7 +24,7 @@ case "$1" in
24
24
then
25
25
echo " $PIDFILE exists, process is already running or crashed"
26
26
else
27
- echo " Starting Redis server..."
27
+ echo " Starting KeyDB server..."
28
28
$EXEC $CONF
29
29
fi
30
30
;;
@@ -38,10 +38,10 @@ case "$1" in
38
38
$CLIEXEC -p $KeyDBPORT shutdown
39
39
while [ -x /proc/${PID} ]
40
40
do
41
- echo " Waiting for Redis to shutdown ..."
41
+ echo " Waiting for KeyDB to shutdown ..."
42
42
sleep 1
43
43
done
44
- echo " Redis stopped"
44
+ echo " KeyDB stopped"
45
45
fi
46
46
;;
47
47
* )
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ case "$1" in
16
16
else
17
17
PID=$(cat $PIDFILE)
18
18
echo "Stopping ..."
19
- $CLIEXEC -p $REDISPORT shutdown
19
+ $CLIEXEC -p $KeyDBPORT shutdown
20
20
while [ -x /proc/${ PID} ]
21
21
do
22
22
echo "Waiting for Redis to shutdown ..."
You can’t perform that action at this time.
0 commit comments