add selinux info
This commit is contained in:
parent
4bb2c70748
commit
949f0c589b
@ -353,6 +353,11 @@ if [[ "$(grep -Ei 'debian|buntu|mint' /etc/*release)" ]]; then
|
|||||||
elif [[ "$(grep -Ei 'centos|fedora' /etc/*release)" ]]; then
|
elif [[ "$(grep -Ei 'centos|fedora' /etc/*release)" ]]; then
|
||||||
cp docs/ffplayout.conf "$nginxConfig/"
|
cp docs/ffplayout.conf "$nginxConfig/"
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
|
echo "creating selinux rules"
|
||||||
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
|
|
||||||
setsebool httpd_can_network_connect on -P
|
setsebool httpd_can_network_connect on -P
|
||||||
semanage port -a -t http_port_t -p tcp 8001
|
semanage port -a -t http_port_t -p tcp 8001
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user