evennia/startup.sh
2007-05-24 23:46:14 +00:00

15 lines
494 B
Bash
Executable file

#!/bin/bash
export DJANGO_SETTINGS_MODULE="settings"
mv logs/evennia.log logs/evennia.logs.old
## There are several different ways you can run the server, read the
## description for each and uncomment the desired mode.
## TODO: Make this accept a command line argument to use interactive
## mode instead of having to uncomment crap.
## Interactive mode. Good for development and debugging.
#twistd -noy twistd -ny server.py
## Stand-alone mode. Good for running games.
twistd -y server.py