From afacc27742398bfb8f33e5aa1966cd5de4176e24 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Mon, 12 Aug 2024 00:13:38 +0330 Subject: [PATCH] chown user hysteria --- core/scripts/singbox/singbox_shell.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/scripts/singbox/singbox_shell.sh b/core/scripts/singbox/singbox_shell.sh index 708d6f5..9db7a44 100644 --- a/core/scripts/singbox/singbox_shell.sh +++ b/core/scripts/singbox/singbox_shell.sh @@ -76,7 +76,8 @@ start_service() { update_env_file "$domain" "$port" create_service_file - + chown -R hysteria:hysteria "/etc/letsencrypt/live/$domain" + chown -R hysteria:hysteria /etc/hysteria/core/scripts/singbox systemctl daemon-reload systemctl enable singbox.service > /dev/null 2>&1 systemctl start singbox.service > /dev/null 2>&1