-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New feature to allow the program environment to be loaded from an ext…
…ernal file or program. - This allows supervisord to be used in conjunction with any secrets pattern using a root-only file or a program that can provide environment variables that a program should have. It can be set globally in the supervisord section, or per program in a program section. The new options are environment_file or environment_loader. They are optional, and errors in one of them will prevent startup. They can be set in the [supervisord] section and then will be passed down to the programs, or in the program definitions. The file/loader is checked right before the calls to spawn() in order to avoid problems with calling a subprocess after the child fork, and to allow restarts to reload those environment values. - Updated the docs for these new options - Updated the tests to add a new test to check these new options.
- Loading branch information
Showing
5 changed files
with
289 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.