From a7a4004f53c7c9dad2dd84ca392502456288b82e Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sat, 30 Nov 2019 22:11:38 +0100 Subject: [PATCH] Introduce lxc- prefix for services --- apk/vmmgr | 2 +- lxc-apps/ckan/install.sh | 16 ++++++++-------- lxc-apps/crisiscleanup/install.sh | 4 ++-- lxc-apps/cts/install.sh | 4 ++-- lxc-apps/decidim/install.sh | 4 ++-- lxc-apps/ecogis/install.sh | 4 ++-- lxc-apps/gnuhealth/install.sh | 4 ++-- lxc-apps/kanboard/install.sh | 4 ++-- lxc-apps/mifosx/install.sh | 4 ++-- lxc-apps/motech/install.sh | 12 ++++++------ lxc-apps/odoo/install.sh | 4 ++-- lxc-apps/opendatakit/install.sh | 8 ++++---- lxc-apps/pandora/install.sh | 8 ++++---- lxc-apps/sahana-demo/install.sh | 4 ++-- lxc-apps/sahana/install.sh | 4 ++-- lxc-apps/sambro/install.sh | 4 ++-- lxc-apps/seeddms/install.sh | 4 ++-- lxc-apps/sigmah/install.sh | 4 ++-- lxc-apps/ushahidi/install.sh | 4 ++-- 19 files changed, 51 insertions(+), 51 deletions(-) diff --git a/apk/vmmgr b/apk/vmmgr index 2d3890f..539a616 160000 --- a/apk/vmmgr +++ b/apk/vmmgr @@ -1 +1 @@ -Subproject commit 2d3890fd51bdaedb09c3d3742e7a58545f370244 +Subproject commit 539a61662de6278f7841c7e9b86d9d17d5e5b492 diff --git a/lxc-apps/ckan/install.sh b/lxc-apps/ckan/install.sh index a5c2b22..d831e6d 100755 --- a/lxc-apps/ckan/install.sh +++ b/lxc-apps/ckan/install.sh @@ -14,7 +14,7 @@ cp postgres_data/pg_hba.conf /srv/ckan/postgres_data/pg_hba.conf # Create database export CKAN_PWD=$(head -c 18 /dev/urandom | base64 | tr -d '+/=') export CKAN_DS_PWD=$(head -c 18 /dev/urandom | base64 | tr -d '+/=') -service ckan-postgres start +service lxc-ckan-postgres start envsubst /srv/ckan/solr_data/solr.xml chown -R 108983:108983 /srv/ckan/solr_data -service ckan-solr start +service lxc-ckan-solr start # Configure CKAN Solr core lxc-attach -u 8983 -g 8983 ckan-solr -- solr create -p 8983 -c ckan -service ckan-solr stop +service lxc-ckan-solr stop cp solr_data/ckan/conf/schema.xml /srv/ckan/solr_data/ckan/conf/schema.xml cp solr_data/ckan/conf/solrconfig.xml /srv/ckan/solr_data/ckan/conf/solrconfig.xml chown -R 108983:108983 /srv/ckan/solr_data -service ckan-solr start +service lxc-ckan-solr start # Configure CKAN DataPusher mkdir -p /srv/ckan/datapusher_conf /srv/ckan/datapusher_data @@ -72,9 +72,9 @@ envsubst /srv/ecogis/conf/config.php chown -R 108080:108080 /srv/ecogis/ecogis_conf /srv/ecogis/ecogis_data # Stop services required for setup -service ecogis-postgres stop +service lxc-ecogis-postgres stop # Register application vmmgr register-app ecogis ecogis diff --git a/lxc-apps/gnuhealth/install.sh b/lxc-apps/gnuhealth/install.sh index dd58030..6d10a17 100755 --- a/lxc-apps/gnuhealth/install.sh +++ b/lxc-apps/gnuhealth/install.sh @@ -13,7 +13,7 @@ cp postgres_data/pg_hba.conf /srv/gnuhealth/postgres_data/pg_hba.conf # Create databases export GNUHEALTH_PWD=$(head -c 18 /dev/urandom | base64 | tr -d '+/=') -service gnuhealth-postgres start +service lxc-gnuhealth-postgres start envsubst