From a3b984ddc5f7ca3d61cd22204b8ba2993bc73049 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Sun, 11 Aug 2024 23:35:23 +0330 Subject: [PATCH] Update Environment variables --- core/scripts/singbox/singbox_shell.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/scripts/singbox/singbox_shell.sh b/core/scripts/singbox/singbox_shell.sh index 795697a..708d6f5 100644 --- a/core/scripts/singbox/singbox_shell.sh +++ b/core/scripts/singbox/singbox_shell.sh @@ -30,10 +30,10 @@ update_env_file() { local cert_dir="/etc/letsencrypt/live/$domain" cat < /etc/hysteria/core/scripts/singbox/.env -DOMAIN=$domain -PORT=$port -CERTFILE=$cert_dir/fullchain.pem -KEYFILE=$cert_dir/privkey.pem +hysteria_DOMAIN=$domain +hysteria_PORT=$port +hysteria_CERTFILE=$cert_dir/fullchain.pem +hysteria_KEYFILE=$cert_dir/privkey.pem EOL }