From bb5078e34887bedccde7051aa5b31b1730704383 Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 14 Dec 2022 01:55:50 -0500 Subject: [PATCH] Fix upgrade_wings Signed-off-by: Tommy --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 98f92ba..ff0a870 100644 --- a/install.sh +++ b/install.sh @@ -457,13 +457,14 @@ EOF upgrade_wings(){ + systemctl stop wings if [ ${WINGS} = "latest" ]; then curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64 else curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/download/${WINGS}/wings_linux_amd64 fi chmod u+x /usr/local/bin/wings - systemctl restart wings + systemctl start wings output "Your wings have been updated to version ${WINGS}." }