Skip to content

Commit

Permalink
[Platform.sh] Change to call to fix execution bit issues with cache s…
Browse files Browse the repository at this point in the history
…cript (ezsystems#465)
  • Loading branch information
andrerom authored Oct 1, 2019
1 parent abd82d2 commit fa4d8a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ hooks:
# Now that mounts are available, clear cache on mount.
# Note: Skip on PE Cluster setup using e.g. "if [$PLATFORM_BRANCH" != 'production']; then" & get p.sh to enable this on internal per node "pre_start" hook
./bin/platformsh/pre_start-per_node-clear_cache.sh
sh bin/platformsh/pre_start-per_node-clear_cache.sh
# If you also need to clear Redis cache on every deploy, you can either use this command or redis-cli
# Normally this should only be needed if cached data structures changes (upgrades), or you change data via sql (e.g. restore backup)
Expand Down
2 changes: 1 addition & 1 deletion bin/platformsh/pre_start-per_node-clear_cache.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
# This script is run as part of the .platform.app.yaml deployment step
# On PE Cluster (usually just production) this should be setup by platform.sh team as part of pre_start event

Expand Down

0 comments on commit fa4d8a8

Please sign in to comment.