From d70f89724130e2602af3613d92c5a082007ecba6 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 8 Jan 2021 18:21:51 +0100 Subject: [PATCH] Updated selinux command --- conf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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