fix several bugs of init.d scripts
- PIDFILE environ variable was not properly retrieved - chkconfig command failed
This commit is contained in:
parent
5e049d41ed
commit
44cc1f1fb1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user