Cleanup EL8 Output

This commit is contained in:
2021-01-27 11:41:28 +01:00
parent 8f9a9e7c95
commit 39da2f54d7
4 changed files with 3 additions and 4 deletions

View File

@@ -22,5 +22,5 @@ fi
if [ "$shortdist" = "el8" ]; then
#Setting SeLiux perms for centos
semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/$domain/html(/.*)?" > $OUTPUT 2>&1
restorecon -vr /var/www/ > $OUTPUT 2>&1
restorecon -r /var/www/ > $OUTPUT 2>&1
fi