From 6919f6528f158561355cbc4daac3c0af980e9425 Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 1 Nov 2021 20:14:59 -0400 Subject: [PATCH] Update install.sh --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index c36ba64..4c42224 100644 --- a/install.sh +++ b/install.sh @@ -429,8 +429,8 @@ ExecStart=/usr/bin/php /var/www/pterodactyl/artisan queue:work --queue=high,stan WantedBy=multi-user.target EOF setsebool -P httpd_can_network_connect 1 - setsebool -P httpd_execmem 1 - setsebool -P httpd_unified 1 + setsebool -P httpd_execmem 1 + setsebool -P httpd_unified 1 fi sudo systemctl daemon-reload systemctl enable --now pteroq.service @@ -810,7 +810,7 @@ firewall(){ output "Setting up Fail2Ban..." if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then apt -y install fail2ban - elif [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "rhel" ]; then + elif [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ]; then yum -y install fail2ban fi systemctl enable fail2ban