diff --git a/script/cjserver.start b/script/cjserver.start index 2205becb..d18f7d30 100755 --- a/script/cjserver.start +++ b/script/cjserver.start @@ -1,5 +1,7 @@ #!/bin/sh +PATH=/usr/bin/:/usr/local/bin/:/sbin/:$PATH + PID=`pidof cjserver` if [ ! -z "${PID}" ] then diff --git a/script/cjserver.stop b/script/cjserver.stop index b6a43f03..fddd124a 100755 --- a/script/cjserver.stop +++ b/script/cjserver.stop @@ -1,5 +1,7 @@ #!/bin/sh +PATH=/usr/bin/:/usr/local/bin/:/sbin/:$PATH + PID=`pidof cjserver` if [ ! -z "${PID}" ] then