Fix register-app calls

This commit is contained in:
Disassembler 2019-02-26 21:12:41 +01:00
parent cb4b17e1d5
commit 6af3888fda
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
20 changed files with 22 additions and 22 deletions

View File

@ -63,4 +63,4 @@ cp srv/ckan/update-conf.sh /srv/ckan/update-conf.sh
[ ! -z ${STOP_SOLR} ] && service solr stop
# Register application
vmmgr register-app ckan "${CKAN_ADMIN_USER}" "${CKAN_ADMIN_PWD}"
vmmgr register-app ckan ckan "${CKAN_ADMIN_USER}" "${CKAN_ADMIN_PWD}"

View File

@ -40,4 +40,4 @@ cp srv/crisiscleanup/update-conf.sh /srv/crisiscleanup/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app crisiscleanup "${CRISISCLEANUP_ADMIN_EMAIL}" "${CRISISCLEANUP_ADMIN_PWD}"
vmmgr register-app crisiscleanup cc "${CRISISCLEANUP_ADMIN_EMAIL}" "${CRISISCLEANUP_ADMIN_PWD}"

View File

@ -45,4 +45,4 @@ cp srv/cts/update-conf.sh /srv/cts/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app cts "${CTS_ADMIN_EMAIL}" "${CTS_ADMIN_PWD}"
vmmgr register-app cts cts "${CTS_ADMIN_EMAIL}" "${CTS_ADMIN_PWD}"

View File

@ -23,4 +23,4 @@ rc-update -u
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app ecogis
vmmgr register-app ecogis ecogis

View File

@ -17,4 +17,4 @@ cp etc/init.d/frontlinesms /etc/init.d/frontlinesms
rc-update -u
# Register application
vmmgr register-app frontlinesms "${FRONTLINESMS_ADMIN_USER}" "${FRONTLINESMS_ADMIN_PWD}"
vmmgr register-app frontlinesms sms "${FRONTLINESMS_ADMIN_USER}" "${FRONTLINESMS_ADMIN_PWD}"

View File

@ -35,4 +35,4 @@ cp srv/gnuhealth/update-conf.sh /srv/gnuhealth/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app gnuhealth "${GNUHEALTH_ADMIN_USER}" "${GNUHEALTH_ADMIN_PWD}"
vmmgr register-app gnuhealth gh "${GNUHEALTH_ADMIN_USER}" "${GNUHEALTH_ADMIN_PWD}"

View File

@ -34,4 +34,4 @@ cp srv/kanboard/update-conf.sh /srv/kanboard/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app kanboard "${KANBOARD_ADMIN_USER}" "${KANBOARD_ADMIN_PWD}"
vmmgr register-app kanboard kb "${KANBOARD_ADMIN_USER}" "${KANBOARD_ADMIN_PWD}"

View File

@ -48,4 +48,4 @@ cp srv/mifosx/update-conf.sh /srv/mifosx/update-conf.sh
[ ! -z ${STOP_MARIADB} ] && service mariadb stop
# Register application
vmmgr register-app mifosx "${MIFOSX_ADMIN_USER}" "${MIFOSX_ADMIN_PWD}"
vmmgr register-app mifosx mifosx "${MIFOSX_ADMIN_USER}" "${MIFOSX_ADMIN_PWD}"

View File

@ -42,4 +42,4 @@ cp srv/motech/update-conf.sh /srv/motech/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app motech "${MOTECH_ADMIN_USER}" "${MOTECH_ADMIN_PWD}"
vmmgr register-app motech motech "${MOTECH_ADMIN_USER}" "${MOTECH_ADMIN_PWD}"

View File

@ -36,4 +36,4 @@ rc-update -u
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app odoo "${ODOO_ADMIN_USER}" "${ODOO_ADMIN_PWD}"
vmmgr register-app odoo odoo "${ODOO_ADMIN_USER}" "${ODOO_ADMIN_PWD}"

View File

@ -24,4 +24,4 @@ rc-update -u
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app opendatakit-build
vmmgr register-app opendatakit-build odkbuild

View File

@ -24,11 +24,11 @@ cp etc/init.d/opendatakit /etc/init.d/opendatakit
rc-update -u
# Populate database
service opendatakit start
lxc-start opendatakit
until grep -q 'org.apache.catalina.startup.Catalina.start Server startup' /var/log/lxc/opendatakit.log; do
sleep 1
done
service opendatakit stop
lxc-stop opendatakit
# Update admin account
export OPENDATAKIT_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
@ -44,4 +44,4 @@ cp srv/opendatakit/update-conf.sh /srv/opendatakit/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app opendatakit "${OPENDATAKIT_ADMIN_USER}" "${OPENDATAKIT_ADMIN_PWD}"
vmmgr register-app opendatakit odk "${OPENDATAKIT_ADMIN_USER}" "${OPENDATAKIT_ADMIN_PWD}"

View File

@ -16,4 +16,4 @@ cp etc/init.d/openmapkit /etc/init.d/openmapkit
rc-update -u
# Register application
vmmgr register-app openmapkit "${OPENMAPKIT_ADMIN_USER}" "${OPENMAPKIT_ADMIN_PWD}"
vmmgr register-app openmapkit omk "${OPENMAPKIT_ADMIN_USER}" "${OPENMAPKIT_ADMIN_PWD}"

View File

@ -60,4 +60,4 @@ cp srv/pandora/update-conf.sh /srv/pandora/update-conf.sh
[ ! -z ${STOP_RABBITMQ} ] && service rabbitmq stop
# Register application
vmmgr register-app pandora "${PANDORA_ADMIN_USER}" "${PANDORA_ADMIN_PWD}"
vmmgr register-app pandora pandora "${PANDORA_ADMIN_USER}" "${PANDORA_ADMIN_PWD}"

View File

@ -47,4 +47,4 @@ cp srv/sahana-demo/update-conf.sh /srv/sahana-demo/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app sahana-demo "${SAHANADEMO_ADMIN_USER}" "${SAHANADEMO_ADMIN_PWD}"
vmmgr register-app sahana-demo sahana-demo "${SAHANADEMO_ADMIN_USER}" "${SAHANADEMO_ADMIN_PWD}"

View File

@ -48,4 +48,4 @@ cp srv/sahana/update-conf.sh /srv/sahana/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app sahana "${SAHANA_ADMIN_USER}" "${SAHANA_ADMIN_PWD}"
vmmgr register-app sahana sahana "${SAHANA_ADMIN_USER}" "${SAHANA_ADMIN_PWD}"

View File

@ -48,4 +48,4 @@ cp srv/sambro/update-conf.sh /srv/sambro/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app sambro "${SAMBRO_ADMIN_USER}" "${SAMBRO_ADMIN_PWD}"
vmmgr register-app sambro sambro "${SAMBRO_ADMIN_USER}" "${SAMBRO_ADMIN_PWD}"

View File

@ -40,4 +40,4 @@ cp srv/seeddms/update-conf.sh /srv/seeddms/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app seeddms "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}"
vmmgr register-app seeddms dms "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}"

View File

@ -47,4 +47,4 @@ cp srv/sigmah/update-conf.sh /srv/sigmah/update-conf.sh
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
# Register application
vmmgr register-app sigmah "${SIGMAH_ADMIN_EMAIL}" "${SIGMAH_ADMIN_PWD}"
vmmgr register-app sigmah sigmah "${SIGMAH_ADMIN_EMAIL}" "${SIGMAH_ADMIN_PWD}"

View File

@ -39,4 +39,4 @@ cp srv/ushahidi/update-conf.sh /srv/ushahidi/update-conf.sh
[ ! -z ${STOP_MARIADB} ] && service mariadb stop
# Register application
vmmgr register-app ushahidi "${USHAHIDI_ADMIN_USER}" "${USHAHIDI_ADMIN_PWD}"
vmmgr register-app ushahidi ush "${USHAHIDI_ADMIN_USER}" "${USHAHIDI_ADMIN_PWD}"