author | Chloe Laisne <chloe.laisne@gmail.com> |
Tue, 18 Oct 2016 14:42:01 +0530 | |
changeset 352 | d8a8c57f36c4 |
parent 346 | 4cd0f8c936ed |
child 353 | bf1bc6b08c46 |
permissions | -rw-r--r-- |
28 | 1 |
#!/usr/bin/env sh |
2 |
||
346
4cd0f8c936ed
upgrade build and delivery process for integration
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
3 |
echo "Clear drupal cache" |
4cd0f8c936ed
upgrade build and delivery process for integration
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
4 |
if [ -x /usr/local/bin/drush ]; then |
4cd0f8c936ed
upgrade build and delivery process for integration
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
5 |
/usr/local/bin/drush -r /var/www/corpusdelaparole/drupal cc all |
4cd0f8c936ed
upgrade build and delivery process for integration
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
6 |
fi |
4cd0f8c936ed
upgrade build and delivery process for integration
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
7 |
|
4cd0f8c936ed
upgrade build and delivery process for integration
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
8 |
echo "Restart httpd" |
28 | 9 |
/usr/bin/systemctl restart httpd |