mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-18 19:39:35 +00:00
add startup finish check
This commit is contained in:
1 parent
71fb844748
commit
e882491385
1 file changed
+6
@@ -16,6 +16,12 @@ if grep --quiet "The state engine was in incorrect state ERRORED and forced into
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if grep --quiet 'Done .+ For help, type "help" or "?"' server.log; then
|
||||
echo "Server didn't finish startup:"
|
||||
cat server.log
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "No crash reports detected"
|
||||
exit 0
|
||||
|
||||
Reference in new issue
Block a user