From 90cdc6573db392f0958390b524a0fb292f1d9fe2 Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Sun, 14 Dec 2008 00:06:59 +0000 Subject: [PATCH] Making comments consistent across both Windows and Linux/Unix startup scripts. Added some elaboration about Twisted Command Prompt in startup.bat. --- startup.bat | 11 ++++++++++- startup.sh | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/startup.bat b/startup.bat index 8a40e69707..7970cca2c3 100644 --- a/startup.bat +++ b/startup.bat @@ -1,7 +1,16 @@ @echo off +rem ------------------------------------------------------------------------ +rem WINDOWS STARTUP SCRIPT +rem NOTE: This _MUST_ be launched with the Twisted environment variables +rem set. It is recommended that you launch Twisted Command Prompt to do so. +rem ------------------------------------------------------------------------ + set DJANGO_SETTINGS_MODULE=settings set PYTHONPATH=. echo Starting Evennia... -rem We're only going to run in interactive mode until we've had more time to make sure things work as expected on Windows. +rem ------------------------------------------------------------------------ +rem We're only going to run in interactive mode until we've had more time to +rem make sure things work as expected on Windows. +rem ------------------------------------------------------------------------ twistd -oy --logfile=- --python=src/server.py \ No newline at end of file diff --git a/startup.sh b/startup.sh index f1bf201dd1..070b9465e4 100755 --- a/startup.sh +++ b/startup.sh @@ -1,6 +1,6 @@ #!/bin/bash ############################################################################# -# SERVER STARTUP SCRIPT +# LINUX/UNIX SERVER STARTUP SCRIPT # Sets the appropriate environmental variables and launches the server # process. Run without flags for daemon mode. # It can be used for stoping the server.