Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Add node.config to debian #1770

Merged
merged 2 commits into from
Jul 7, 2022
Merged

Add node.config to debian #1770

merged 2 commits into from
Jul 7, 2022

Conversation

jadeallenx
Copy link
Contributor

@jadeallenx jadeallenx commented Jul 6, 2022

Problem to solve: We need a mechanism to store/preserve specific configuration overrides for nodes. The configuration needs to be marked as such by the package manager so that the configuration remains durable across package installations.

Solution: This etc/node.config file enables durable, node-specific configuration. Because the file is considered/merged last, the terms in this file will override other settings that have been processed earlier during application start up. For more information see the Erlang sys.config documentation.

To enable this behavior in a Docker container, there is an option to use a bind mount using the command line -v option (example: -v /pathto/host-node.config:/var/helium/miner/etc/node.config)

deb/node.config Outdated Show resolved Hide resolved
@evanmcc evanmcc merged commit d5e3ec2 into master Jul 7, 2022
@evanmcc evanmcc deleted the jma/node-config branch July 7, 2022 17:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants