forked from GNUsocial/gnu-social
1d4f1f6bf6
Added some of the standard directories darcs-hash:20080506151729-84dde-563da8505e06a7302041c93ab157ced31165876c.gz
16 lines
428 B
Bash
16 lines
428 B
Bash
#!/bin/bash
|
|
|
|
if [[ $1 = "start" ]]
|
|
then
|
|
echo "Stopping any running daemons..."
|
|
/usr/local/bin/searchd --config /usr/local/etc/sphinx.conf --stop 2> /dev/null
|
|
echo "Starting sphinx search daemon..."
|
|
/usr/local/bin/searchd --config /usr/local/etc/sphinx.conf 2> /dev/null
|
|
fi
|
|
|
|
if [[ $1 = "stop" ]]
|
|
then
|
|
echo "Stopping sphinx search daemon..."
|
|
/usr/local/bin/searchd --config /usr/local/etc/sphinx.conf --stop 2> /dev/null
|
|
fi
|