background start

This commit is contained in:
Rafał Jaworski 2019-05-30 13:47:03 +02:00
parent 11bd5e1064
commit 4a21673352
3 changed files with 11 additions and 0 deletions

2
.gitignore vendored
View File

@ -8,6 +8,8 @@ concordia-server/config.hpp
index/ index/
scripts/concordia-server.PID scripts/concordia-server.PID
scripts/start.sh scripts/start.sh
scripts/simplestart.sh
scripts/backgroundstart.sh
scripts/stop.sh scripts/stop.sh
scripts/restart.sh scripts/restart.sh
scripts/watchdog.sh scripts/watchdog.sh

View File

@ -37,6 +37,10 @@ configure_file (
"${concordia-server_SOURCE_DIR}/scripts/cmake_stubs/simplestart.sh.in" "${concordia-server_SOURCE_DIR}/scripts/cmake_stubs/simplestart.sh.in"
"${concordia-server_SOURCE_DIR}/scripts/simplestart.sh" "${concordia-server_SOURCE_DIR}/scripts/simplestart.sh"
) )
configure_file (
"${concordia-server_SOURCE_DIR}/scripts/cmake_stubs/backgroundstart.sh.in"
"${concordia-server_SOURCE_DIR}/scripts/backgroundstart.sh"
)
configure_file ( configure_file (
"${concordia-server_SOURCE_DIR}/scripts/cmake_stubs/stop.sh.in" "${concordia-server_SOURCE_DIR}/scripts/cmake_stubs/stop.sh.in"
"${concordia-server_SOURCE_DIR}/scripts/stop.sh" "${concordia-server_SOURCE_DIR}/scripts/stop.sh"

View File

@ -0,0 +1,5 @@
#!/bin/sh
mono "@LEMMAGEN_BINARIES_PATH@"/LemmaGenSockets.exe &
spawn-fcgi -p 8000 -n "@COMPILED_BINARIES_PATH@"/concordia_server_process &