Fix the selinux context of the copied files
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
71b7104525
commit
626a24d13a
1 changed files with 1 additions and 0 deletions
|
@ -17,4 +17,5 @@ for env in staging production; do
|
||||||
exp_date=`openssl x509 -enddate -noout -dateopt iso_8601 -in $cert | cut -d= -f2`
|
exp_date=`openssl x509 -enddate -noout -dateopt iso_8601 -in $cert | cut -d= -f2`
|
||||||
echo -e "$name\t$exp_date" >> ${dest_dir}/${EXPIRATION_FILE}
|
echo -e "$name\t$exp_date" >> ${dest_dir}/${EXPIRATION_FILE}
|
||||||
done
|
done
|
||||||
|
chcon -t httpd_sys_content_t -R ${dest_dir}
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue