add PATH in cjserver.start/stop

This commit is contained in:
wyy 2014-04-11 15:41:37 -05:00
parent bb6c3f9e78
commit d9c7efdf4d
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh
PATH=/usr/bin/:/usr/local/bin/:/sbin/:$PATH
PID=`pidof cjserver`
if [ ! -z "${PID}" ]
then

View File

@ -1,5 +1,7 @@
#!/bin/sh
PATH=/usr/bin/:/usr/local/bin/:/sbin/:$PATH
PID=`pidof cjserver`
if [ ! -z "${PID}" ]
then