Skip to content

add config file environment variable#95

Open
rfletchr wants to merge 1 commit into
shotgunsoftware:masterfrom
wlvfx:add_config_environment_variable
Open

add config file environment variable#95
rfletchr wants to merge 1 commit into
shotgunsoftware:masterfrom
wlvfx:add_config_environment_variable

Conversation

@rfletchr

@rfletchr rfletchr commented Mar 28, 2024

Copy link
Copy Markdown

Whats changed

this change adds the ability to define a config file via an environment variable.

EVENT_DAEMON_CONFIG_FILE=/configs/events.config python3 src/shotgunEventDaemon.py start

Why

I want to be able to bundle my config file and plugins in a rez package. This allows developers to provide any config file path via a environment variable and makes it far easier to setup the daemon in more complex setups.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants