mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-05 00:27:25 +00:00
Tail /var/log/messages if upstream setup fails
This commit is contained in:
parent
6a93af9670
commit
071c89c420
@ -1,7 +1,7 @@
|
|||||||
# travisci config
|
# travisci config
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- MIAB_LDAP=true
|
- MIAB_LDAP_PROJECT=true
|
||||||
|
|
||||||
language: shell
|
language: shell
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -67,7 +67,12 @@ upstream_install() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
H2 "Run upstream setup"
|
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
|
popd >/dev/null
|
||||||
|
|
||||||
H2 "Upstream info"
|
H2 "Upstream info"
|
||||||
|
Loading…
Reference in New Issue
Block a user