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

Skip IPFS config if DISABLE_IPFS env var is set #67

Merged
merged 2 commits into from
Jan 28, 2024

Conversation

hulkhaugen
Copy link
Contributor

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

Using the DISABLE_IPFS environment variable to skip the IPFS config in the init-emulatorjs-config script if the variable is set. Also added a few double-quotes on some variables that were missing.

Benefits of this PR and context:

It reduces startup time and resource use for users that have disabled IPFS.

How Has This Been Tested?

I have made a local build and tested, works fine for me. In my test setup, i also erase the remains of the /data/.ipfs, but I have not done it in this pull request as it might not align with others views.

Source / References:

N/A

Using the environment variable to check if it's set, skip if it is.
Changelog update for "Skip IPFS config" if env variable is set.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! Be sure to follow the pull request template!

@LinuxServer-CI
Copy link
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/emulatorjs/1.8.5-pkg-5ad17c44-dev-81f1717a95b4c4220f07dbde73926d0b088c0a0e-pr-67/index.html
https://ci-tests.linuxserver.io/lspipepr/emulatorjs/1.8.5-pkg-5ad17c44-dev-81f1717a95b4c4220f07dbde73926d0b088c0a0e-pr-67/shellcheck-result.xml

Tag Passed
amd64-1.8.5-pkg-5ad17c44-dev-81f1717a95b4c4220f07dbde73926d0b088c0a0e-pr-67
arm64v8-1.8.5-pkg-5ad17c44-dev-81f1717a95b4c4220f07dbde73926d0b088c0a0e-pr-67

@thelamer thelamer requested a review from a team January 28, 2024 22:30
@thelamer thelamer merged commit 077c5b7 into linuxserver:master Jan 28, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants