1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00

Tail /var/log/messages if upstream setup fails

This commit is contained in:
downtownallday 2020-06-14 17:19:30 -04:00
parent 6a93af9670
commit 071c89c420
2 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# travisci config
env:
global:
- MIAB_LDAP=true
- MIAB_LDAP_PROJECT=true
language: shell
os: linux

View File

@ -67,7 +67,12 @@ upstream_install() {
fi
H2 "Run upstream setup"
setup/start.sh || die "Upstream setup failed!"
if ! setup/start.sh; then
echo "$F_WARN"
tail -100 /var/log/syslog
echo "$F_RESET"
die "Upstream setup failed!"
fi
popd >/dev/null
H2 "Upstream info"