From bbf1e87d689ff0870ce5732b1cb53551539986d9 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:56:51 +0330 Subject: [PATCH] Removes (config.yaml) --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index d078852..92f18f3 100644 --- a/install.sh +++ b/install.sh @@ -82,6 +82,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|(config.yaml)||' /etc/systemd/system/hysteria-server.service sed -i 's|/etc/hysteria/config.yaml|/etc/hysteria/config.json|' /etc/systemd/system/hysteria-server.service rm /etc/hysteria/config.yaml sleep 1