Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNebulosa <85841412+nebulosa2007@users.noreply.github.com>2026-01-02 18:11:32 +0300
committerGitHub <noreply@github.com>2026-01-02 18:11:32 +0300
commitc061337ce76f4b2dffc8a86340b0133538528576 (patch)
treea418d5a5ec8d7520552bacd2484f12ffcfcd430d /update.sh
parent260eedf8c417458b22bb17224035985a213bf3cc (diff)
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
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh1
1 files changed, 1 insertions, 0 deletions
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