mirror of
https://github.com/fluencelabs/redis
synced 2025-04-25 10:32:14 +00:00
Fixed init script bug, thanks to Henrik Westphal
This commit is contained in:
parent
13572dc21b
commit
f2ac94876d
@ -28,7 +28,7 @@ case "$1" in
|
|||||||
PID=$(cat $PIDFILE)
|
PID=$(cat $PIDFILE)
|
||||||
echo "Stopping ..."
|
echo "Stopping ..."
|
||||||
$CLIEXEC -p $REDISPORT shutdown
|
$CLIEXEC -p $REDISPORT shutdown
|
||||||
while [ -x /proc/${PIDFILE} ]
|
while [ -x /proc/${PID} ]
|
||||||
do
|
do
|
||||||
echo "Waiting for Redis to shutdown ..."
|
echo "Waiting for Redis to shutdown ..."
|
||||||
sleep 1
|
sleep 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user