Skip to content

Conversation

@jack1902
Copy link

to:
cc: @subspacecommunity/subspace-maintainers
related to:
resolves: #90 #97

Background

Bug reports were raised and this is how i can fix it. There MIGHT be a better solution than this in terms of using KEY=VALUE as part of the below. But i personally feely like this approach is better as ALL environment variables are only relevant to subspace

exec env - PATH=$PATH runsvdir -P /etc/service &

Changes

  • source the /etc/envvars file before calling subspace

Testing

  • Ran locally by adding env > /data/wireguard/environment to entrypoint.sh line 179 and observed the expected envvars as passed in from docker-compose

@jack1902 jack1902 added the bug Something isn't working label Jun 24, 2020
Copy link

@elliotwestlake elliotwestlake left a comment

Choose a reason for hiding this comment

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

🆗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleted env vars

4 participants