Hello.
I’m running a set of handlers, but having issues with their environments.
my service runs as sensu user, and I added the gem path to .bash_profile
export GEM_HOME=/opt/sensu-plugins-ruby/embedded/
However, the handlers it not taking the variable, I have to add it explicitly
ENV Vars
GEM_HOME=/opt/sensu-plugins-ruby/embedded/
but then I run into other issues with permissions.
What’s the expected way to populate handler’s environment ?
Are they running with a different user than the main service ?
I checked under the handlers documentation, but no references to user or inheriting settings
Thanks a lot for tour help.