Reputation: 331
I would like to know if there is a sys.config file of an erlang node to be updated without restarting the node itself?
My usecase is to have variables in the env part of the sys.config configuration, where I constantly poll the sys.config to see if certain variables are true or false for various reasons like turning on or off features of a program on the fly.
Upvotes: 2
Views: 222
Reputation: 3821
The sys.config
is only read at start time (and new release installation time). Are you aware of application:set_env/3
? If you are, in what way does it not meet your needs?
Upvotes: 3