realms-wiki/docker/realms-wiki.sh
Matthew Scragg 67bf9eab35 updated docker runsv script
updated dockerfile
2014-09-26 16:18:48 -05:00

10 lines
264 B
Bash

#!/bin/sh
chdir /home/deploy/realms-wiki
if [ "${REALMS_WIKI_CONFIG}" != "" ]; then
realms-wiki configure ${REALMS_WIKI_CONFIG}
fi
exec /sbin/setuser deploy /home/deploy/realms-wiki/.venv/bin/python manage.py run >>/var/log/realms-wiki/realms-wiki.log 2>&1