build/post_upgrade.sh
author ymh <ymh.work@gmail.com>
Mon, 17 Oct 2016 18:51:48 +0200
changeset 347 9779512454af
parent 346 4cd0f8c936ed
child 353 bf1bc6b08c46
permissions -rw-r--r--
Correct jslint errors

#!/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