Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
55937b79
"vscode:/vscode.git/clone" did not exist on "521ddcce1483d1b8760a108fd5d7df0ae663799a"
Commit
55937b79
authored
Jun 14, 2011
by
antirez
Browse files
Fixed init script bug, thanks to Henrik Westphal
parent
b0d68504
Changes
1
Show whitespace changes
Inline
Side-by-side
utils/redis_init_script
View file @
55937b79
...
@@ -28,7 +28,7 @@ case "$1" in
...
@@ -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/
${
PID
FILE
}
]
while
[
-x
/proc/
${
PID
}
]
do
do
echo
"Waiting for Redis to shutdown ..."
echo
"Waiting for Redis to shutdown ..."
sleep
1
sleep
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment