Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to disable startup update script #2443

Merged
merged 2 commits into from Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions core/compose/compose.yml
Expand Up @@ -25,6 +25,7 @@ services:
environment:
- BLUEOS_DISABLE_SERVICES=cable_guy,wifi,commander
- BLUEOS_DISABLE_MEMORY_LIMIT=true
- BLUEOS_DISABLE_STARTUP_UPDATE=true
ports:
- "80:80"
- "81:81" # Helper
Expand Down
4 changes: 3 additions & 1 deletion core/start-blueos-core
Expand Up @@ -35,7 +35,9 @@ TOTAL_RAM_MB=$(free -m | awk '/Mem:/ {print $2}')
echo "Total RAM size: ${TOTAL_RAM_MB} MB"

# Update docker binds, if we need to restart, exit!
blueos_startup_update
if [ -z "${BLUEOS_DISABLE_STARTUP_UPDATE}" ]; then
blueos_startup_update
fi

# Set permission of docker unix socket file to be accessible by nginx
if [ -e "/var/run/docker.sock" ]; then
Expand Down