rm config.yaml
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user