mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-04 15:54:48 +01:00
Tail /var/log/messages if upstream setup fails
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user