]>
Commit | Line | Data |
---|---|---|
bd84607f ER |
1 | #!/bin/sh |
2 | # include support for sphinx configs | |
3 | # until real include directive added, which may be never | |
4 | # http://sphinxsearch.com/bugs/view.php?id=964 | |
5 | ||
6 | dir=$(dirname "$0") | |
7 | ||
8 | # load global config: indexer, searchd | |
9 | cat $dir/sphinx-common.conf | |
10 | ||
11 | # load extra indexes definitons | |
12 | for config in $dir/index.d/*.conf; do | |
13 | if [ -f "$config" ]; then | |
14 | cat "$config" | |
15 | fi | |
16 | done |