fixed path issue in rc.searchd.in

This commit is contained in:
SJ 2013-07-30 11:13:17 +02:00
parent 543a4e1ac7
commit 67e8a4abef

View File

@ -2,13 +2,15 @@
## ##
## ##
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
NAME=searchd NAME=searchd
PID_FILE=/var/run/piler/searchd.pid PID_FILE=/var/run/piler/searchd.pid
PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_FILE}` PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_FILE}`
start() { start() {
echo "starting searchd . . ." echo "starting searchd . . ."
su piler -c 'BINDIR/searchd' su piler -c searchd
} }
stop() { stop() {