fix several bugs of init.d scripts
- PIDFILE environ variable was not properly retrieved - chkconfig command failed
This commit is contained in:
parent
96e9f8d5e3
commit
c4286feabe
@ -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