Adjusted the threaded webserver initialization to properly fit into the daemonization process when starting Evennia in threaded mode. Should behave the same way as interactive mode now. Resolves issue 125.
This commit is contained in:
parent
606ce0c3c5
commit
7ebcefae2e
3 changed files with 38 additions and 31 deletions
|
|
@ -133,13 +133,10 @@ def start_daemon(parser, options, args):
|
|||
cycle_logfile()
|
||||
|
||||
# Start it up
|
||||
# Popen([TWISTED_BINARY,
|
||||
# '--logfile=%s' % settings.DEFAULT_LOG_FILE,
|
||||
# '--python=%s' % SERVER_PY_FILE])
|
||||
call([TWISTED_BINARY,
|
||||
'--logfile=%s' % settings.DEFAULT_LOG_FILE,
|
||||
'--python=%s' % SERVER_PY_FILE])
|
||||
|
||||
Popen([TWISTED_BINARY,
|
||||
'--logfile=%s' % settings.DEFAULT_LOG_FILE,
|
||||
'--python=%s' % SERVER_PY_FILE])
|
||||
|
||||
|
||||
def start_interactive(parser, options, args):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue