mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 18:41:32 -05:00
Update install.sh
This commit is contained in:
parent
bacfe76e61
commit
c7f636ba10
17
install.sh
17
install.sh
@ -731,8 +731,15 @@ RestartSec=5s
|
|||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
systemctl enable --now wings
|
systemctl enable wings
|
||||||
output "Wings ${WINGS} has now been installed on your system."
|
output "Wings ${WINGS} has now been installed on your system."
|
||||||
|
output "You should go to your panel and configure the node now."
|
||||||
|
if [ "$lsb_dist" != "fedora" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" != "almalinux" ]; then
|
||||||
|
output "------------------------------------------------------------------"
|
||||||
|
output "IMPORTANT NOTICE!!!"
|
||||||
|
output "Since you are on a system with targetted SELinux policies, you should be changing the Daemon Server File Directory from /var/lib/pterodactyl/volumes to /var/srv/containers/pterodactyl."
|
||||||
|
output "------------------------------------------------------------------"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -895,7 +902,7 @@ broadcast(){
|
|||||||
if [ "$installoption" = "1" ] || [ "$installoption" = "3" ]; then
|
if [ "$installoption" = "1" ] || [ "$installoption" = "3" ]; then
|
||||||
broadcast_database
|
broadcast_database
|
||||||
fi
|
fi
|
||||||
output "###############################################################"
|
output "------------------------------------------------------------------"
|
||||||
output "FIREWALL INFORMATION"
|
output "FIREWALL INFORMATION"
|
||||||
output ""
|
output ""
|
||||||
output "All unnecessary ports are blocked by default."
|
output "All unnecessary ports are blocked by default."
|
||||||
@ -904,12 +911,12 @@ broadcast(){
|
|||||||
elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" != "almalinux" ]; then
|
elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" != "almalinux" ]; then
|
||||||
output "Use 'firewall-cmd --permanent --add-port=<port>/tcp' to enable your desired ports."
|
output "Use 'firewall-cmd --permanent --add-port=<port>/tcp' to enable your desired ports."
|
||||||
fi
|
fi
|
||||||
output "###############################################################"
|
output "------------------------------------------------------------------"
|
||||||
output ""
|
output ""
|
||||||
}
|
}
|
||||||
|
|
||||||
broadcast_database(){
|
broadcast_database(){
|
||||||
output "###############################################################"
|
output "------------------------------------------------------------------"
|
||||||
output "MARIADB/MySQL INFORMATION"
|
output "MARIADB/MySQL INFORMATION"
|
||||||
output ""
|
output ""
|
||||||
output "Your MariaDB/MySQL root password is $rootpassword"
|
output "Your MariaDB/MySQL root password is $rootpassword"
|
||||||
@ -919,7 +926,7 @@ broadcast_database(){
|
|||||||
output "Port: 3306"
|
output "Port: 3306"
|
||||||
output "User: admin"
|
output "User: admin"
|
||||||
output "Password: $adminpassword"
|
output "Password: $adminpassword"
|
||||||
output "###############################################################"
|
output "------------------------------------------------------------------"
|
||||||
output ""
|
output ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user