2014-09-19 00:44:01 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-09-19 07:12:57 +03:00
|
|
|
chdir /home/deploy/realms-wiki
|
|
|
|
|
2014-09-19 00:44:01 +03:00
|
|
|
if [ "${REALMS_WIKI_CONFIG}" != "" ]; then
|
|
|
|
realms-wiki configure ${REALMS_WIKI_CONFIG}
|
|
|
|
fi
|
|
|
|
|
2014-09-27 00:18:48 +03:00
|
|
|
exec /sbin/setuser deploy /home/deploy/realms-wiki/.venv/bin/python manage.py run >>/var/log/realms-wiki/realms-wiki.log 2>&1
|