Updated selinux command

This commit is contained in:
2021-01-08 18:21:51 +01:00
parent 7c719140fe
commit d70f897241

View File

@@ -26,7 +26,7 @@ elif [ "$shortdist" = "el8" ]; then
monitPhpPid=/var/opt/remi/php"${phpver//.}"/run/php-fpm/php-fpm.pid monitPhpPid=/var/opt/remi/php"${phpver//.}"/run/php-fpm/php-fpm.pid
monitPhpPro=php-fpm monitPhpPro=php-fpm
semanage fcontext -at httpd_sys_rw_content_t "/var/run/monit/(.*)?" semanage fcontext -at httpd_sys_rw_content_t "/var/run/monit(/.*)?"
restorecon -R -v "/var/run/monit" restorecon -R -v "/var/run/monit"
fi fi