change default installation directory from /etc to /opt since it's more appropriate location

This commit is contained in:
ronivay
2020-04-20 16:28:18 +03:00
parent c6b66e70a0
commit 18c29ca478
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ source $CONFIG_FILE
# Set some default variables if sourcing config file fails for some reason
PORT=${PORT:-80}
INSTALLDIR=${INSTALLDIR:-"/etc/xo"}
INSTALLDIR=${INSTALLDIR:-"/opt/xo"}
BRANCH=${BRANCH:-"master"}
LOGFILE=${LOGFILE:-"$(dirname $0)/xo-install.log"}
AUTOUPDATE=${AUTOUPDATE:-"true"}