mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 18:20:12 +01:00
fixed path issue in rc.searchd.in
This commit is contained in:
parent
543a4e1ac7
commit
67e8a4abef
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user