aboutsummaryrefslogtreecommitdiffstats
path: root/.openshift/action_hooks/deploy
diff options
context:
space:
mode:
Diffstat (limited to '.openshift/action_hooks/deploy')
-rwxr-xr-x.openshift/action_hooks/deploy20
1 files changed, 19 insertions, 1 deletions
diff --git a/.openshift/action_hooks/deploy b/.openshift/action_hooks/deploy
index 1256cc0c1..9e3413f98 100755
--- a/.openshift/action_hooks/deploy
+++ b/.openshift/action_hooks/deploy
@@ -155,7 +155,7 @@ fi
echo "Now chmod 777 -R poller"
-chmod -R 777 ${OPENSHIFT_REPO}.openshift/cron/minutely/poller
+chmod -R 777 ${OPENSHIFT_REPO_DIR}.openshift/cron/minutely/poller
echo "chmod done, permissions set to 777 on poller script."
@@ -176,3 +176,21 @@ echo "chmod done, permissions set to 777 on poller script."
### fi
####
+
+# Hubzilla configuration - changes to default settings
+# to make Hubzilla on OpenShift a more pleasant experience
+echo "Changing default configuration to conserve space"
+cd ${OPENSHIFT_REPO_DIR}
+util/config system expire_delivery_reports 3
+util/config system feed_contacts 0
+util/config system disable_discover_tab 1
+
+# Hubzill addons
+echo "Try to add or update Hubzilla addons"
+cd ${OPENSHIFT_REPO_DIR}
+util/add_addon_repo https://github.com/redmatrix/hubzilla-addons.git HubzillaAddons
+
+# Hubzilla themes
+echo "Try to add or update Hubzilla themes"
+cd ${OPENSHIFT_REPO_DIR}
+util/add_theme_repo https://github.com/DeadSuperHero/redmatrix-themes.git DeadSuperHeroThemes