diff options
author | quiver <george@alpamayo.(none)> | 2012-05-04 20:07:00 +0900 |
---|---|---|
committer | quiver <george@alpamayo.(none)> | 2012-05-04 20:07:00 +0900 |
commit | c4286feabef25b417d05251e4a63ef769ac4cfad (patch) | |
tree | e43a7d7f4f78ff5a55574bb7bc2d81bb75dad532 /utils/redis_init_script.tpl | |
parent | 96e9f8d5e3dc862e4590375de5ca9770e151ea84 (diff) | |
download | redis-c4286feabef25b417d05251e4a63ef769ac4cfad.tar.gz |
fix several bugs of init.d scripts
- PIDFILE environ variable was not properly retrieved
- chkconfig command failed
Diffstat (limited to 'utils/redis_init_script.tpl')
-rwxr-xr-x | utils/redis_init_script.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/redis_init_script.tpl b/utils/redis_init_script.tpl index e0c5b2f88..e2af1fe77 100755 --- 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 |