From f9d91f20d479f9d6808425156ad8c83573955a83 Mon Sep 17 00:00:00 2001 From: Return <151555003+H-Return@users.noreply.github.com> Date: Tue, 4 Jun 2024 16:50:32 +0330 Subject: [PATCH] rm config.yaml --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 9d78411..945d22a 100644 --- a/install.sh +++ b/install.sh @@ -89,6 +89,7 @@ jq --arg port "$port" \ # Step 11: Modify the systemd service file to use config.json echo "Updating hysteria-server.service to use config.json..." sed -i 's|/etc/hysteria/config.yaml|/etc/hysteria/config.json|' /etc/systemd/system/hysteria-server.service +rm /etc/hysteria/config.yaml sleep 1 # Step 12: Start and enable the Hysteria service