mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 22:31:59 +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
|
||||
PID_FILE=/var/run/piler/searchd.pid
|
||||
PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_FILE}`
|
||||
|
||||
start() {
|
||||
echo "starting searchd . . ."
|
||||
su piler -c 'BINDIR/searchd'
|
||||
su piler -c searchd
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
Loading…
Reference in New Issue
Block a user