running lemmagen in concordia-server container
This commit is contained in:
parent
d289a24412
commit
817a3028a4
@ -24,7 +24,7 @@ bool SocketLemmatizer::_connect() {
|
|||||||
throw ConcordiaException("Could not create socket for the lemmatizer.");
|
throw ConcordiaException("Could not create socket for the lemmatizer.");
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string address = "lemmagen";
|
std::string address = "127.0.0.1";
|
||||||
|
|
||||||
//setup address structure
|
//setup address structure
|
||||||
if(inet_addr(address.c_str()) == -1) {
|
if(inet_addr(address.c_str()) == -1) {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
mono "@LEMMAGEN_BINARIES_PATH@"/LemmaGenSockets.exe &
|
||||||
spawn-fcgi -p 8000 -n "@COMPILED_BINARIES_PATH@"/concordia_server_process
|
spawn-fcgi -p 8000 -n "@COMPILED_BINARIES_PATH@"/concordia_server_process
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user