logpath fix

This commit is contained in:
ronivay
2020-05-30 19:35:05 +03:00
parent a1d2316ba1
commit 49d910725f
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ CONFIGUPDATE=true
BRANCH="master"
# Installation log path
LOGPATH="$(dirname $0)/logs"
LOGPATH="$(dirname "$(realpath $0)")/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 $0)/logs}"
LOGPATH="${LOGPATH}-"$(dirname "$(realpath $0)")/logs""
AUTOUPDATE=${AUTOUPDATE:-"true"}
PRESERVE=${PRESERVE:-"3"}
XOUSER=${XOUSER:-"root"}