Commit 7f10703b authored by quiver's avatar quiver Committed by antirez
Browse files

fix several bugs of init.d scripts

- PIDFILE environ variable was not properly retrieved
- chkconfig command failed
parent 0cf10e8e
case "$1" in case "$1" in
start) start)
if [ -f $$PIDFILE ] if [ -f $PIDFILE ]
then then
echo "$PIDFILE exists, process is already running or crashed" echo "$PIDFILE exists, process is already running or crashed"
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment