projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cf10e8
)
fix several bugs of init.d scripts
author
quiver
<george@alpamayo.(none)>
Fri, 4 May 2012 11:07:00 +0000
(20:07 +0900)
committer
antirez
<antirez@gmail.com>
Fri, 4 May 2012 11:42:03 +0000
(13:42 +0200)
- PIDFILE environ variable was not properly retrieved
- chkconfig command failed
utils/redis_init_script.tpl
patch
|
blob
|
blame
|
history
diff --git
a/utils/redis_init_script.tpl
b/utils/redis_init_script.tpl
index e0c5b2f88fe7fcc44a3d0c8cf62e377a78bff871..e2af1fe77571c191dab027e45f9ffecefe76432d 100755
(executable)
--- a/
utils/redis_init_script.tpl
+++ b/
utils/redis_init_script.tpl
@@
-1,7
+1,7
@@
case "$1" in
start)
- if [ -f $
$
PIDFILE ]
+ if [ -f $PIDFILE ]
then
echo "$PIDFILE exists, process is already running or crashed"
else