mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 03:57:17 +02:00
Adjusted startup.sh to use the BASE_PATH from settings.py
This commit is contained in:
parent
c5208656f8
commit
d2136ec135
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/bash
|
||||
export DJANGO_SETTINGS_MODULE="settings"
|
||||
|
||||
mv -f logs/evennia.log logs/evennia.logs.old
|
||||
BASE_PATH=`python -c "import settings; print settings.BASE_PATH"`
|
||||
mv -f $BASE_PATH/logs/evennia.log $BASE_PATH/logs/evennia.logs.old
|
||||
|
||||
## There are several different ways you can run the server, read the
|
||||
## description for each and uncomment the desired mode.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue