forked from PelicanPlatform/pelican
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Pelican to not require a set $HOME in some configurations
In some remote environments like HTCondor, we can't always assume that the user has a configured $HOME directory. Previously, this was enforced in both the root command and in the `main` package's chain of `init()` functions, preventing stash_plugin from running in HTCondor even though no $HOME directory is needed in that case. This makes an unset $HOME a non-fatal warning at the root command level, and moves `InitServer()` into a pre-run for each cobra command that is actually responsible for starting a server. In the cases of servers, we do still require $HOME.
- Loading branch information
1 parent
8a87a1f
commit e92a09d
Showing
5 changed files
with
30 additions
and
9 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
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