lldap: automatic provision + system users + stalwart + whatever
This commit is contained in:
parent
4a0129585a
commit
82caf96d36
19 changed files with 405 additions and 285 deletions
|
@ -23,6 +23,8 @@ let
|
|||
for k, v in json.load(f).items():
|
||||
if isinstance(v, str) and v.startswith("$"):
|
||||
v = os.environ[v[1:]]
|
||||
if isinstance(v, str) and v.startswith("file:"):
|
||||
v = open(v[5:], "r").read().strip()
|
||||
|
||||
globals()[k] = v
|
||||
|
||||
|
@ -30,6 +32,8 @@ let
|
|||
for k, v in json.load(f).items():
|
||||
if isinstance(v, str) and v.startswith("$"):
|
||||
v = os.environ[v[1:]]
|
||||
if isinstance(v, str) and v.startswith("file:"):
|
||||
v = open(v[5:], "r").read().strip()
|
||||
|
||||
WGER_SETTINGS[k] = v
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue