diff --git a/Installation-CentOS-7.md b/Installation-CentOS-7.md index e5dea30..d13a41b 100644 --- a/Installation-CentOS-7.md +++ b/Installation-CentOS-7.md @@ -2,15 +2,6 @@ The following instructions are for installing Sonarr on CentOS 7. Please note these were the steps taken by an experienced user. -*If you don't feel like fighting SELinux - - setenforce 0 - -*And to ensure it stays that way - - vi /etc/selinux/config - Find the value enforcing, and change to disabled - *Install some repos and packages yum install epel-release yum-utils -y @@ -65,18 +56,14 @@ yum -y install wget git par2cmdline p7zip unrar unzip tar gcc python-yenc python mv sonarr.service /usr/lib/systemd/system/ *Add firewall exceptions if the firewall is enabled - - cat > sonarr.xml << EOF - - + tee /etc/firewalld/services/sonarr.xml << EOF sonarr Sonarr Download Service EOF - - mv sonarr.xml /etc/firewalld/services/ + firewall-cmd --reload firewall-cmd --permanent --add-service sonarr firewall-cmd --reload