Fix CrisisCleanup user in Portal and add install script to 00-install.sh
This commit is contained in:
parent
bccad19b5a
commit
d74dfb27d2
@ -13,6 +13,7 @@ ${SOURCE_DIR}/20-ushahidi.sh
|
|||||||
${SOURCE_DIR}/30-ckan.sh
|
${SOURCE_DIR}/30-ckan.sh
|
||||||
${SOURCE_DIR}/50-pandora.sh
|
${SOURCE_DIR}/50-pandora.sh
|
||||||
${SOURCE_DIR}/60-kanboard.sh
|
${SOURCE_DIR}/60-kanboard.sh
|
||||||
|
${SOURCE_DIR}/70-crisiscleanup.sh
|
||||||
|
|
||||||
# Perform cleanup only if DEBUG environment variable is not set
|
# Perform cleanup only if DEBUG environment variable is not set
|
||||||
if [ ${DEBUG:-0} -eq 0 ]; then
|
if [ ${DEBUG:-0} -eq 0 ]; then
|
||||||
|
@ -66,7 +66,7 @@ systemctl start crisiscleanup
|
|||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
# Add portal application definition
|
# 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
|
# Uninstall CrisisCleanup compilation dependecies
|
||||||
apt-get -y purge libpq-dev ruby-dev zlib1g-dev
|
apt-get -y purge libpq-dev ruby-dev zlib1g-dev
|
||||||
|
Loading…
Reference in New Issue
Block a user