mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-10-03 15:53:56 +00:00
fix: waiter config discovery fallback for root, socket path from config
This commit is contained in:
@ -68,6 +68,7 @@ func configCandidates() []string {
|
|||||||
if home != "" {
|
if home != "" {
|
||||||
cands = append(cands, filepath.Join(home, ".config", "homeagent", "waiter.yaml"))
|
cands = append(cands, filepath.Join(home, ".config", "homeagent", "waiter.yaml"))
|
||||||
}
|
}
|
||||||
|
cands = append(cands, "/root/.config/homeagent/waiter.yaml")
|
||||||
|
|
||||||
cands = append(cands, filepath.Join(".", "waiter.yaml"))
|
cands = append(cands, filepath.Join(".", "waiter.yaml"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user