mirror of https://mirror.osredm.com/root/redis.git
Fixed init script bug, thanks to Henrik Westphal
This commit is contained in:
parent
b0d68504e9
commit
55937b7972
|
@ -28,7 +28,7 @@ case "$1" in
|
|||
PID=$(cat $PIDFILE)
|
||||
echo "Stopping ..."
|
||||
$CLIEXEC -p $REDISPORT shutdown
|
||||
while [ -x /proc/${PIDFILE} ]
|
||||
while [ -x /proc/${PID} ]
|
||||
do
|
||||
echo "Waiting for Redis to shutdown ..."
|
||||
sleep 1
|
||||
|
|
Loading…
Reference in New Issue