Full Mattermost server source with integrated Community Enterprise features. Includes vendor directory for offline/air-gapped builds. Structure: - enterprise-impl/: Enterprise feature implementations - enterprise-community/: Init files that register implementations - enterprise/: Bridge imports (community_imports.go) - vendor/: All dependencies for offline builds Build (online): go build ./cmd/mattermost Build (offline/air-gapped): go build -mod=vendor ./cmd/mattermost 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
405 B
Bash
Executable File
20 lines
405 B
Bash
Executable File
#!/bin/bash
|
|
|
|
total=0
|
|
MAX_WAIT_SECONDS="${MAX_WAIT_SECONDS:=60}"
|
|
|
|
echo "waiting $MAX_WAIT_SECONDS seconds for the server to start"
|
|
|
|
while [[ "$total" -le "$MAX_WAIT_SECONDS" ]]; do
|
|
if bin/mmctl system status --local 2> /dev/null; then
|
|
exit 0
|
|
else
|
|
((total=total+1))
|
|
printf "."
|
|
sleep 1
|
|
fi
|
|
done
|
|
|
|
printf "\nserver didn't start in $MAX_WAIT_SECONDS seconds\n"
|
|
|
|
exit 1 |