build/post_upgrade.sh
changeset 346 4cd0f8c936ed
parent 28 b0b56e0f8c7f
child 353 bf1bc6b08c46
--- a/build/post_upgrade.sh	Mon Oct 17 19:51:14 2016 +0530
+++ b/build/post_upgrade.sh	Mon Oct 17 18:07:53 2016 +0200
@@ -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