1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 10:31:34 -05:00

Permanently disable cockpit

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-04-16 02:48:32 -04:00 committed by GitHub
parent c574c31662
commit dd14a64bac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -527,7 +527,7 @@ EOF
output "Configuring your firewall..." output "Configuring your firewall..."
dnf -y install firewalld dnf -y install firewalld
systemctl enable --now firewalld systemctl enable --now firewalld
firewall-cmd --remove-service=cockpit firewall-cmd --permanent --remove-service=cockpit
if [ "$installoption" = "1" ]; then if [ "$installoption" = "1" ]; then
firewall-cmd --permanent --add-service=http firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https firewall-cmd --permanent --add-service=https