build/post_upgrade.sh
changeset 352 d8a8c57f36c4
parent 346 4cd0f8c936ed
child 353 bf1bc6b08c46
--- a/build/post_upgrade.sh	Tue Oct 18 14:38:20 2016 +0530
+++ b/build/post_upgrade.sh	Tue Oct 18 14:42:01 2016 +0530
@@ -1,3 +1,9 @@
 #!/usr/bin/env sh
 
+echo "Clear drupal cache"
+if [ -x /usr/local/bin/drush ]; then
+    /usr/local/bin/drush -r /var/www/corpusdelaparole/drupal cc all
+fi
+
+echo "Restart httpd"
 /usr/bin/systemctl restart httpd