Skip to content

Commit 78f76fe

Browse files
committed
feat: added new homebrew path
1 parent de17905 commit 78f76fe

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

bin/vproxy/config_nix.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ func findConfigFile(path string, isDaemon bool) string {
88
// look for dot file only for clients
99
paths = append(paths, ".vproxy.conf")
1010
}
11-
paths = append(paths, homeConfPath(), "/usr/local/etc/vproxy.conf", "/etc/vproxy.conf")
11+
12+
paths = append(paths,
13+
homeConfPath(),
14+
"/usr/local/etc/vproxy.conf",
15+
"/opt/homebrew/etc/vproxy.conf",
16+
"/etc/vproxy.conf",
17+
)
18+
1219
return findConfig(paths...)
1320
}

0 commit comments

Comments
 (0)