Use 127.0.0.1 instead of `hostname` to avoid errors on some systems

This commit is contained in:
zhengxie 2017-05-03 10:36:48 +08:00
parent 065c50c8e9
commit 2b556eb7b7
3 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ echo
# Vars
# -------------------------------------------
SEAFILE_ADMIN=admin@seafile.local
IP_OR_DOMAIN=$(hostname -i)
IP_OR_DOMAIN=127.0.0.1
SEAFILE_VERSION=$1
TIME_ZONE=Asia/Shanghai

View File

@ -99,7 +99,7 @@ echo
# Vars
# -------------------------------------------
SEAFILE_ADMIN=admin@seafile.local
IP_OR_DOMAIN=$(hostname -i)
IP_OR_DOMAIN=127.0.0.1
SEAFILE_VERSION=$1
TIME_ZONE=Asia/Shanghai

View File

@ -100,7 +100,7 @@ echo
# Vars
# -------------------------------------------
SEAFILE_ADMIN=admin@seafile.local
IP_OR_DOMAIN=$(hostname -i)
IP_OR_DOMAIN=127.0.0.1
SEAFILE_VERSION=$1
TIME_ZONE=Asia/Shanghai