Skip to content

Commit

Permalink
Merge pull request #89 from dhensby/pulls/fix-65
Browse files Browse the repository at this point in the history
Clearing SS cache on provision
  • Loading branch information
willmorgan committed Aug 3, 2015
2 parents 9efc6ae + 62fb87b commit 76815a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/always.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@ echo "starting httpd"
systemctl start httpd.service

if [ -x /usr/local/bin/mailcatcher ]; then
echo "Starting mailcatcher"
/usr/local/bin/mailcatcher --ip=0.0.0.0
fi

if [ -d /var/www/html/silverstripe-cache ]; then
echo "Clearing SS site cache"
rm -rf /var/www/html/silverstripe-cache/*
fi

0 comments on commit 76815a8

Please sign in to comment.