mirror of
https://github.com/midoks/mdserver-web
synced 2026-11-05 20:16:03 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 157a5da6f1 | |||
| 7ee5ed5808 | |||
| e8a96959a5 | |||
| a4845acbb6 |
@@ -3,7 +3,7 @@ indexer {
|
||||
}
|
||||
|
||||
searchd {
|
||||
listen = 127.0.0.1:9322
|
||||
listen = 127.0.0.1:9322:sphinx
|
||||
listen = 127.0.0.1:9326:mysql
|
||||
listen = 127.0.0.1:9328:http
|
||||
log = /var/log/manticore/searchd.log
|
||||
|
||||
@@ -208,6 +208,7 @@ def reload():
|
||||
|
||||
|
||||
def rebuild():
|
||||
fixIndexOwner()
|
||||
cmd = 'indexer --all --rotate'
|
||||
cmd_manticore = asManticore(cmd)
|
||||
data = mw.execShell(cmd_manticore)
|
||||
@@ -293,7 +294,7 @@ def runStatus():
|
||||
|
||||
sh = sphinxapi.SphinxClient()
|
||||
port = getMainPort()
|
||||
sh.SetServer('127.0.0.1', port)
|
||||
sh.SetServer('127.0.0.1', int(port))
|
||||
info_status = sh.Status()
|
||||
|
||||
if info_status is None:
|
||||
|
||||
@@ -9,7 +9,7 @@ serverPath=$(dirname "$rootPath")
|
||||
sysName=`uname`
|
||||
sysArch=`arch`
|
||||
|
||||
# cd /www/server/mdserver-web/plugins/manticoresearch && bash install.sh install 7.4.6
|
||||
# cd /www/server/mdserver-web/plugins/manticoresearch && bash install.sh install latest
|
||||
# cd /www/server/mdserver-web && python3 plugins/manticoresearch/index.py run_status_test
|
||||
# cd /www/server/mdserver-web && python3 plugins/manticoresearch/index.py start
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
searchd {
|
||||
listen = 127.0.0.1:9322
|
||||
listen = 127.0.0.1:9322:sphinx
|
||||
listen = 127.0.0.1:9326:mysql
|
||||
listen = 127.0.0.1:9328:http
|
||||
log = /var/log/manticore/searchd.log
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
searchd {
|
||||
listen = 127.0.0.1:9322
|
||||
listen = 127.0.0.1:9322:sphinx
|
||||
listen = 127.0.0.1:9326:mysql
|
||||
listen = 127.0.0.1:9328:http
|
||||
log = /var/log/manticore/searchd.log
|
||||
|
||||
Reference in New Issue
Block a user