#!/bin/bash

set -e

rm -rf /idm_container || true
mkdir /idm_container
mkdir /idm_container/python23
tar --exclude=dev -xJf /python23/python23.tar.xz -C /idm_container/python23
chown -R www-data:www-data /idm_container

uwsgi --ini=/idm/uwsgi.ini
