From c061337ce76f4b2dffc8a86340b0133538528576 Mon Sep 17 00:00:00 2001 From: Nebulosa <85841412+nebulosa2007@users.noreply.github.com> Date: Fri, 2 Jan 2026 18:11:32 +0300 Subject: Set log folder variable to /var/log/3x-ui (#3599) * Set log folder variable to /var/log/3x-ui * Set log folder as x-ui and create the log folder * Create the log folder in install and update scripts --- update.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'update.sh') diff --git a/update.sh b/update.sh index ff0cea41..6da238b1 100755 --- a/update.sh +++ b/update.sh @@ -653,6 +653,7 @@ update_x-ui() { chmod +x /usr/local/x-ui/x-ui.sh >/dev/null 2>&1 chmod +x /usr/bin/x-ui >/dev/null 2>&1 + mkdir -p /var/log/x-ui >/dev/null 2>&1 echo -e "${green}Changing owner...${plain}" chown -R root:root /usr/local/x-ui >/dev/null 2>&1 -- cgit v1.2.3