log path fix

This commit is contained in:
ronivay
2020-05-30 20:32:57 +03:00
parent 49d910725f
commit 2f5b500ad0
2 changed files with 3 additions and 3 deletions

View File

@@ -14,8 +14,8 @@ CONFIGUPDATE=true
# Also, you can set this to "release" to use the latest tagged branch.
BRANCH="master"
# Installation log path
LOGPATH="$(dirname "$(realpath $0)")/logs"
# Installation log path. If this is commented, the default path is logs directory inside this script root
#LOGPATH="/tmp/example/logs"
# Only one PLUGIN variable can be used at a time. Comment out the other one if you change these below. Comment out both if you don't want any plugins to be installed.

View File

@@ -21,7 +21,7 @@ source $CONFIG_FILE
PORT=${PORT:-80}
INSTALLDIR=${INSTALLDIR:-"/opt/xo"}
BRANCH=${BRANCH:-"master"}
LOGPATH="${LOGPATH}-"$(dirname "$(realpath $0)")/logs""
LOGPATH=${LOGPATH:-$(dirname "$(realpath $0)")/logs}
AUTOUPDATE=${AUTOUPDATE:-"true"}
PRESERVE=${PRESERVE:-"3"}
XOUSER=${XOUSER:-"root"}