1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-09-18 15:14:43 -04:00

Update Standalone SFTP server

Update the standalone SFTP server from 1.0.4 to 1.0.5
This commit is contained in:
TommyTran732 2020-07-10 18:10:42 -04:00 committed by GitHub
parent 9c54483d91
commit 70f6f04f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,7 +165,7 @@ install_options(){
output "[5] Upgrade 0.7.x panel to 0.7.17." output "[5] Upgrade 0.7.x panel to 0.7.17."
output "[6] Upgrade 0.6.x daemon to 0.6.13." output "[6] Upgrade 0.6.x daemon to 0.6.13."
output "[7] Upgrade the panel to 0.7.17 and daemon to 0.6.13" output "[7] Upgrade the panel to 0.7.17 and daemon to 0.6.13"
output "[8] Upgrade the standalone SFTP server to 1.0.4." output "[8] Upgrade the standalone SFTP server to 1.0.5."
output "[9] Make Pterodactyl compatible with the mobile app (only use this after you have installed the panel - check out https://pterodactyl.cloud for more information)." output "[9] Make Pterodactyl compatible with the mobile app (only use this after you have installed the panel - check out https://pterodactyl.cloud for more information)."
output "[10] Update mobile compatibility." output "[10] Update mobile compatibility."
output "[11] Install or update to phpMyAdmin 5.0.2 (only use this after you have installed the panel)." output "[11] Install or update to phpMyAdmin 5.0.2 (only use this after you have installed the panel)."
@ -1066,7 +1066,7 @@ install_standalone_sftp(){
fi fi
service wings restart service wings restart
output "Installing standalone SFTP server..." output "Installing standalone SFTP server..."
curl -Lo sftp-server https://github.com/pterodactyl/sftp-server/releases/download/v1.0.4/sftp-server curl -Lo sftp-server https://github.com/pterodactyl/sftp-server/releases/download/v1.0.5/sftp-server
chmod +x sftp-server chmod +x sftp-server
bash -c 'cat > /etc/systemd/system/pterosftp.service' <<-'EOF' bash -c 'cat > /etc/systemd/system/pterosftp.service' <<-'EOF'
[Unit] [Unit]
@ -1090,10 +1090,10 @@ EOF
upgrade_standalone_sftp(){ upgrade_standalone_sftp(){
output "Turning off the standalone SFTP server..." output "Turning off the standalone SFTP server..."
service pterosftp stop service pterosftp stop
curl -Lo sftp-server https://github.com/pterodactyl/sftp-server/releases/download/v1.0.4/sftp-server curl -Lo sftp-server https://github.com/pterodactyl/sftp-server/releases/download/v1.0.5/sftp-server
chmod +x sftp-server chmod +x sftp-server
service pterosftp start service pterosftp start
output "Your standalone SFTP server has successfully been updated to v1.0.4." output "Your standalone SFTP server has successfully been updated to v1.0.5."
} }
install_mobile(){ install_mobile(){