summaryrefslogtreecommitdiffstats
path: root/manage.sh
blob: 6329eb16ae71e6faeca6bb014be6c8a420e247e3 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

if [ $(whoami) != "accounts-web" ]; then
        su accounts-web bash -c "$0"
fi

source venv/bin/activate

"$(dirname $(readlink -f $0))/manage.py" $@