diff options
| -rwxr-xr-x | ishtar-prepare-instance | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar-prepare-instance b/ishtar-prepare-instance index 140c38a0e..0bd74d375 100755 --- a/ishtar-prepare-instance +++ b/ishtar-prepare-instance @@ -11,6 +11,7 @@ INSTANCE=${INSTANCE-iggdrasil} PROJECT=${PROJECT-Test} URL=${URL-localhost} DEST=/var/lib/python-django-ishtar +INSTANCES_FILE=$DEST/INSTANCES echo "*** Preparing ishtar (instance: $INSTANCE, project: $PROJECT) under $DEST ***" @@ -179,3 +180,6 @@ ln -sf "$NGINX_AVAILABLE_PATH/ishtar-$INSTANCE.conf" \ echo "*** uwsgi and nginx configured, restart them and you're done ***" printf "\n /etc/init.d/uwsgi restart\n /etc/init.d/nginx restart\n\n Enjoy ishtar!\n" + +# Register instance: +echo "$INSTANCE" >> $INSTANCES_FILE |
