changeset 380 | b4f69e646e44 |
parent 346 | 4cd0f8c936ed |
child 410 | 240ca282331d |
379:0b14f178ca53 | 380:b4f69e646e44 |
---|---|
1 #!/usr/bin/env sh |
1 #!/usr/bin/env sh |
2 |
|
3 if [ -d /var/www/corpusdelaparole/corpus-back/ ]; then |
|
4 pushd /var/www/corpusdelaparole/corpus-back/ |
|
5 |
|
6 echo "Correcting file permissions for back office" |
|
7 chgrp -R apache storage bootstrap/cache |
|
8 chmod -R ug+rwx storage bootstrap/cache |
|
9 |
|
10 popd |
|
11 fi |
|
12 |
|
2 |
13 |
3 echo "Restart httpd" |
14 echo "Restart httpd" |
4 /usr/bin/systemctl restart httpd |
15 /usr/bin/systemctl restart httpd |