Updated selinux command
This commit is contained in:
2
conf.sh
2
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user