summaryrefslogtreecommitdiff
path: root/sphinx.conf.sh
blob: ce240259bc65c5ef458e1e66cf1db36cb55896b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# include support for sphinx configs
# until real include directive added, which may be never
# http://sphinxsearch.com/bugs/view.php?id=964

dir=$(dirname "$0")

# load global config: indexer, searchd
cat $dir/sphinx-common.conf

# load extra indexes definitons
for config in $dir/index.d/*.conf; do
	if [ -f "$config" ]; then
		cat "$config"
	fi
done