diff --git a/conf.sh b/conf.sh index a5b78a2..4c8e1cb 100644 --- a/conf.sh +++ b/conf.sh @@ -26,7 +26,7 @@ elif [ "$shortdist" = "el8" ]; then monitPhpPid=/var/opt/remi/php"${phpver//.}"/run/php-fpm/php-fpm.pid 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" fi