Fix CrisisCleanup user in Portal and add install script to 00-install.sh

This commit is contained in:
Disassembler 2017-11-28 11:16:28 +01:00
parent bccad19b5a
commit d74dfb27d2
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ ${SOURCE_DIR}/20-ushahidi.sh
${SOURCE_DIR}/30-ckan.sh
${SOURCE_DIR}/50-pandora.sh
${SOURCE_DIR}/60-kanboard.sh
${SOURCE_DIR}/70-crisiscleanup.sh
# Perform cleanup only if DEBUG environment variable is not set
if [ ${DEBUG:-0} -eq 0 ]; then

View File

@ -66,7 +66,7 @@ systemctl start crisiscleanup
systemctl restart nginx
# Add portal application definition
${SOURCE_DIR}/basic/portal-app-manager.py crisis-cleanup "https://{host}:8005/" "${CRISISCLEANUP_ADMIN_USER}" "${CRISISCLEANUP_ADMIN_PWD}"
${SOURCE_DIR}/basic/portal-app-manager.py crisis-cleanup "https://{host}:8005/" "${CRISISCLEANUP_ADMIN_EMAIL}" "${CRISISCLEANUP_ADMIN_PWD}"
# Uninstall CrisisCleanup compilation dependecies
apt-get -y purge libpq-dev ruby-dev zlib1g-dev