Cleanup EL8 Output
This commit is contained in:
@@ -42,7 +42,7 @@ chown "$sitename":"$sitename" -R /var/www/"$domain"/html
|
||||
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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -54,7 +54,7 @@ chown "$sitename":"$sitename" -R /var/www/"$domain"/html
|
||||
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
|
||||
|
||||
#Makeing wordpress Finalize script and setting login Notice
|
||||
|
||||
Reference in New Issue
Block a user