For the linux file systems there is inotify that helps to track file system events. Is there a similar mechanism to track changes of environmental variables?
Asked
Active
Viewed 579 times
2
-
1Considering [this answer](https://unix.stackexchange.com/a/29176/108618), what is the point? – Kamil Maciorowski Dec 08 '20 at 11:32
-
1No, there is no standard mechanism to track changes of environmental variables. – fpmurphy Dec 08 '20 at 16:16
-
@KamilMaciorowski whole running in k8s a .net core app can detect the changes in config map thanks to I notify and the lib that consumes the inotify notifications, however the same is not true for env bars, the app once red parameters from the environment should rely on the the initial values. – Edik Mkoyan Dec 09 '20 at 02:50