realms-wiki/docker/realms-wiki.sh

10 lines
264 B
Bash
Raw Normal View History

#!/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