summaryrefslogtreecommitdiff
path: root/utils/redis_init_script.tpl
diff options
context:
space:
mode:
authorquiver <george@alpamayo.(none)>2012-05-04 20:07:00 +0900
committerquiver <george@alpamayo.(none)>2012-05-04 20:07:00 +0900
commitc4286feabef25b417d05251e4a63ef769ac4cfad (patch)
treee43a7d7f4f78ff5a55574bb7bc2d81bb75dad532 /utils/redis_init_script.tpl
parent96e9f8d5e3dc862e4590375de5ca9770e151ea84 (diff)
downloadredis-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-xutils/redis_init_script.tpl2
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