Fixes #17
Fix bug with loading token Updated readme Remove realms-wiki bash script (redundant) Updated install.sh Using setuptools to create cli entry point Upstart script sets gid and uid
This commit is contained in:
parent
de3b2d66c3
commit
2856dc076f
5 changed files with 65 additions and 45 deletions
11
realms-wiki
11
realms-wiki
|
@ -1,11 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
APP_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
APP_USER="$( stat -c '%U' ${APP_DIR} )"
|
||||
CURRENT_USER=`whoami`
|
||||
|
||||
if [ "${CURRENT_USER}" != "${APP_USER}" ]; then
|
||||
echo "Warning: Running as ${CURRENT_USER}, app dir owned by ${APP_USER}"
|
||||
fi
|
||||
|
||||
${APP_DIR}/.venv/bin/python ${APP_DIR}/manage.py "$@"
|
Loading…
Add table
Add a link
Reference in a new issue