build/post_upgrade.sh
changeset 352 d8a8c57f36c4
parent 346 4cd0f8c936ed
child 353 bf1bc6b08c46
equal deleted inserted replaced
351:c69dcc3b0524 352:d8a8c57f36c4
     1 #!/usr/bin/env sh
     1 #!/usr/bin/env sh
     2 
     2 
       
     3 echo "Clear drupal cache"
       
     4 if [ -x /usr/local/bin/drush ]; then
       
     5     /usr/local/bin/drush -r /var/www/corpusdelaparole/drupal cc all
       
     6 fi
       
     7 
       
     8 echo "Restart httpd"
     3 /usr/bin/systemctl restart httpd
     9 /usr/bin/systemctl restart httpd