提交 7f10703b 编写于 作者: Q quiver 提交者: antirez

fix several bugs of init.d scripts

- PIDFILE environ variable was not properly retrieved
- chkconfig command failed
上级 0cf10e8e
case "$1" in
start)
if [ -f $$PIDFILE ]
if [ -f $PIDFILE ]
then
echo "$PIDFILE exists, process is already running or crashed"
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册