From ee87700d17d8c4afc29e51979009831bf35655e4 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Tue, 13 Aug 2024 14:38:03 +0330 Subject: [PATCH] Update upgrade.sh --- upgrade.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upgrade.sh b/upgrade.sh index d291893..6760e3d 100644 --- a/upgrade.sh +++ b/upgrade.sh @@ -32,9 +32,10 @@ for FILE in "${FILES[@]}"; do cp "$TEMP_DIR/$(basename $FILE)" "$FILE" done -echo "Setting ownership and permissions for ca.key and ca.crt" +echo "Setting ownership and permissions" chown hysteria:hysteria /etc/hysteria/ca.key /etc/hysteria/ca.crt chmod 640 /etc/hysteria/ca.key /etc/hysteria/ca.crt +chown -R hysteria:hysteria /etc/hysteria/core/scripts/singbox echo "Restarting hysteria services" systemctl restart hysteria-server.service