Fix the selinux context of the copied files

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-06-24 09:02:24 +02:00
parent 71b7104525
commit 626a24d13a
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -17,4 +17,5 @@ for env in staging production; do
exp_date=`openssl x509 -enddate -noout -dateopt iso_8601 -in $cert | cut -d= -f2`
echo -e "$name\t$exp_date" >> ${dest_dir}/${EXPIRATION_FILE}
done
chcon -t httpd_sys_content_t -R ${dest_dir}
done