realms-wiki/docker/realms-wiki.sh
Matthew Scragg 813d7cfc51 updated docker runsv script
updated install.sh
updated setup.py
2014-09-18 23:12:57 -05:00

10 lines
266 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 realms-wiki run >>/var/log/realms-wiki/realms-wiki.log 2>&1