![Albert Hopkins](/assets/img/avatar_default.png)
Instead of having everything in the root directory, split them in seperate directories (appliances, scripts, & configs). This makes things a little tidier. Also added a now Makefile target, appliance-list, that prints a list of the available appliances. The split directory change made this easier.
14 lines
274 B
Bash
Executable File
14 lines
274 B
Bash
Executable File
#!/bin/sh
|
|
# this should be run as the airport user
|
|
|
|
PYTHON=python
|
|
PYTHONPATH=/var/airport ; export PYTHONPATH
|
|
DJANGO_SETTINGS_MODULE="etc.settings" ; export DJANGO_SETTINGS_MODULE
|
|
|
|
game_id=$1
|
|
cd ~
|
|
. bin/activate
|
|
cd djangoproject
|
|
|
|
$PYTHON manage.py gameserver --forcequit $1
|