diff --git a/plugins/sphinx/tpl/simdht_delta.conf b/plugins/sphinx/tpl/simdht_delta.conf index 3430cdeab..e20eed842 100755 --- a/plugins/sphinx/tpl/simdht_delta.conf +++ b/plugins/sphinx/tpl/simdht_delta.conf @@ -11,16 +11,16 @@ searchd { listen = 9312 listen = 9306:mysql41 - log = /www/server/sphinx/index/searchd.log - query_log = /www/server/sphinx/index/query.log + log = {$SERVER_APP}/index/searchd.log + query_log = {$SERVER_APP}/index/query.log read_timeout = 5 max_children = 0 - pid_file = /www/server/sphinx/index/searchd.pid + pid_file = {$SERVER_APP}/index/searchd.pid seamless_rotate = 1 preopen_indexes = 1 unlink_old = 1 #workers = threads # for RT to work - binlog_path = /www/server/sphinx/index/binlog + binlog_path = {$SERVER_APP}/index/binlog } source search_hash @@ -63,7 +63,7 @@ source search_hash_delta : search_hash index search_hash { source = search_hash - path = /www/server/sphinx/index/db/search_hash/index + path = {$SERVER_APP}/index/db/search_hash/index ngram_len = 1 ngram_chars = U+3000..U+2FA1F @@ -72,7 +72,7 @@ index search_hash index search_hash_delta : search_hash { source = search_hash_delta - path = /www/server/sphinx/index/db/search_hash_delta/index + path = {$SERVER_APP}/index/db/search_hash_delta/index ngram_len = 1 ngram_chars = U+3000..U+2FA1F