aboutsummaryrefslogtreecommitdiffstats
path: root/.openshift/action_hooks
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-10-18 18:40:55 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-10-18 18:40:55 +0200
commitfc4b1693f9596f0ab97903489ce3fb677dd2b969 (patch)
tree2642bdddf65b9a14cb1bdb8366808542f0bcf1d9 /.openshift/action_hooks
parent126628546ba2c04eecf54211dfdfc307002f7ff6 (diff)
downloadvolse-hubzilla-fc4b1693f9596f0ab97903489ce3fb677dd2b969.tar.gz
volse-hubzilla-fc4b1693f9596f0ab97903489ce3fb677dd2b969.tar.bz2
volse-hubzilla-fc4b1693f9596f0ab97903489ce3fb677dd2b969.zip
Added config settings sensible for Hubzilla on OpenShift
Diffstat (limited to '.openshift/action_hooks')
-rwxr-xr-x.openshift/action_hooks/deploy9
1 files changed, 8 insertions, 1 deletions
diff --git a/.openshift/action_hooks/deploy b/.openshift/action_hooks/deploy
index 1256cc0c1..d85f5a50c 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,10 @@ 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
+cd {$OPENSHIFT_REPO_DIR}
+util/config system expire_delivery_reports 3
+util/config system feed_contacts 0
+util/config system disable_discover_tab 1