build/post_install.sh
author ymh <ymh.work@gmail.com>
Tue, 08 Nov 2016 11:25:09 +0100
changeset 399 800d6baf35f7
parent 380 b4f69e646e44
child 410 240ca282331d
permissions -rw-r--r--
set new version 0.0.7

#!/usr/bin/env sh

if [ -d /var/www/corpusdelaparole/corpus-back/ ]; then
    pushd /var/www/corpusdelaparole/corpus-back/

    echo "Correcting file permissions for back office"
    chgrp -R apache storage bootstrap/cache
    chmod -R ug+rwx storage bootstrap/cache

    popd
fi


echo "Restart httpd"
/usr/bin/systemctl restart httpd