aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-10-01 22:08:38 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-10-01 22:08:38 +0200
commitf23f8f7f5df4f0a7b03c688a911bfdadbff0951b (patch)
tree298e6463d37ea9a6bf57725418d25576d3d3dd40
parentf64acadd58d4aab4a93a1f128f8d4e702869016a (diff)
downloadvolse-hubzilla-f23f8f7f5df4f0a7b03c688a911bfdadbff0951b.tar.gz
volse-hubzilla-f23f8f7f5df4f0a7b03c688a911bfdadbff0951b.tar.bz2
volse-hubzilla-f23f8f7f5df4f0a7b03c688a911bfdadbff0951b.zip
Small fix to deploy
-rwxr-xr-x.openshift/action_hooks/deploy2
1 files changed, 1 insertions, 1 deletions
diff --git a/.openshift/action_hooks/deploy b/.openshift/action_hooks/deploy
index f97772902..1256cc0c1 100755
--- a/.openshift/action_hooks/deploy
+++ b/.openshift/action_hooks/deploy
@@ -140,7 +140,7 @@ echo ".htaccess symlink created"
echo "Check for the poller at .openshift/cron/minutely/poller , if not created - create it"
if [ ! -f ${OPENSHIFT_REPO_DIR}.openshift/cron/minutely/poller ]; then
-printf '%s\n' '#!/bin/bash' 'if [ ! -f $OPENSHIFT_DATA_DIR/last_run ]; then' ' touch $OPENSHIFT_DATA_DIR/last_run' 'fi' 'if [[ $(find $OPENSHIFT_DATA_DIR/last_run -mmin +9) ]]; then #run every 10 mins' ' rm -f $OPENSHIFT_DATA_DIR/last_run' ' touch $OPENSHIFT_DATA_DIR/last_run' ' # The command(s) that you want to run every 5 minutes' 'cd /var/lib/openshift/${OPENSHIFT_APP_UUID}/app-root/repo; /opt/rh/php54/root/usr/bin/php include/poller.php' 'fi' >${OPENSHIFT_REPO_DIR}.openshift/cron/minutely/poller
+printf '%s\n' '#!/bin/bash' 'if [ ! -f $OPENSHIFT_DATA_DIR/last_run ]; then' ' touch $OPENSHIFT_DATA_DIR/last_run' 'fi' 'if [[ $(find $OPENSHIFT_DATA_DIR/last_run -mmin +9) ]]; then #run every 10 mins' ' rm -f $OPENSHIFT_DATA_DIR/last_run' ' touch $OPENSHIFT_DATA_DIR/last_run' ' # The command(s) that you want to run every 10 minutes' 'cd /var/lib/openshift/${OPENSHIFT_APP_UUID}/app-root/repo; /opt/rh/php54/root/usr/bin/php include/poller.php' 'fi' >${OPENSHIFT_REPO_DIR}.openshift/cron/minutely/poller
echo "Done creating file .openshift/cron/minutely/poller"
else