We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0d1af5 + a315cdb commit 43c2f11Copy full SHA for 43c2f11
docs/config.md
@@ -18,6 +18,7 @@ ldap2pg searches for configuration file in the following order :
18
1. `ldap2pg.yml` in current working directory.
19
2. `~/.config/ldap2pg.yml`.
20
3. `/etc/ldap2pg.yml`.
21
+4. `/etc/ldap2pg/ldap2pg.yml`.
22
23
If `LDAP2PG_CONFIG` or `--config` is set,
24
ldap2pg skips searching the standard file locations.
internal/config/file.go
@@ -41,6 +41,8 @@ func FindConfigFile(userValue string) string {
41
path.Join(home, "/.config/ldap2pg.yaml"),
42
"/etc/ldap2pg.yml",
43
"/etc/ldap2pg.yaml",
44
+ "/etc/ldap2pg/ldap2pg.yml",
45
+ "/etc/ldap2pg/ldap2pg.yaml",
46
}
47
return FindFile(userValue, candidates)
48
0 commit comments