From afe8371fe71652d0f4f51bbbce75ef20b5667327 Mon Sep 17 00:00:00 2001 From: hiddify-com <114227601+hiddify-com@users.noreply.github.com> Date: Sun, 30 Jun 2024 14:57:06 +0330 Subject: [PATCH] update --- hiddify-panel/install.sh | 3 +-- install.sh | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hiddify-panel/install.sh b/hiddify-panel/install.sh index 088a8c8f4..5f4da7013 100755 --- a/hiddify-panel/install.sh +++ b/hiddify-panel/install.sh @@ -48,8 +48,7 @@ ln -sf $(which uwsgi) /usr/local/bin/uwsgi >/dev/null 2>&1 ln -sf $(pwd)/hiddify-panel.service /etc/systemd/system/hiddify-panel.service systemctl enable hiddify-panel.service -echo -n "" >> log/system/panel.log -chown hiddify-panel log/system/panel.log + if [ -f "../config.env" ]; then # systemctl restart --now mariadb diff --git a/install.sh b/install.sh index a61bc4182..b9b5dc494 100755 --- a/install.sh +++ b/install.sh @@ -19,6 +19,8 @@ if [ "$(id -u)" -ne 0 ]; then echo 'This script must be run by root' >&2 exit 1 fi +echo -n "" >> log/system/panel.log +chown hiddify-panel log/system/panel.log function main() { update_progress "Please wait..." "We are going to install Hiddify..." 0 export ERROR=0