Hello Zhenja Kaliuta!
12 Jan 20 23:51:18, Zhenja Kaliuta wrote to Alexander N. Skovpen:
RM>>> F2 works again, but it still did not find the config.yml file.
ANS>> try this paths:
ANS>> "/usr/local/etc/ftn/gossiped.yml",
ANS>> "/etc/ftn/gossiped.yml",
ANS>> "gossiped.yml",
ZK> How about to be more classical and honor at least ~/.gossiped.yml (and
ZK> $XDG_CONFIG_HOME as a bonus?
ZK> https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.6.html)
future version:
filepath.Join(os.Getenv("HOME"), "gossiped.yml"),
filepath.Join(os.Getenv("HOME"), ".config", "gossiped.yml"),
"/usr/local/etc/ftn/gossiped.yml",
"/etc/ftn/gossiped.yml",
"gossiped.yml",
Alexander
--- ════════╦╦═╦╦═╗╔════
* Origin: ═╩══╬╩═╩╩═╬╬═ (2:5020/9696.128)
|