mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
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)
|
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…
Reference in New Issue
Block a user