ircd, tau: use the path .config/darkfi for saving data

This commit is contained in:
ghassmo
2022-06-10 16:56:07 +03:00
parent 4e636d2f67
commit d0ae3f3e29
4 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
#irc_listen="tcp://127.0.0.1:11066"
## Sets Datastore Path
#datastore="~/.config/ircd"
#datastore="~/.config/darkfi/ircd"
## List of channels to autojoin for new client connections
autojoin = ["#dev"]

View File

@@ -34,7 +34,7 @@ pub struct Args {
pub irc_listen: Url,
/// Sets Datastore Path
#[structopt(long, default_value = "~/.config/ircd")]
#[structopt(long, default_value = "~/.config/darkfi/ircd")]
pub datastore: String,
/// Generate a new NaCl secret and exit

View File

@@ -20,7 +20,7 @@ pub struct Args {
#[structopt(long = "rpc", default_value = "tcp://127.0.0.1:11055")]
pub rpc_listen: Url,
/// Sets Datastore Path
#[structopt(long, default_value = "~/.config/tau")]
#[structopt(long, default_value = "~/.config/darkfi/tau")]
pub datastore: String,
#[structopt(flatten)]
pub net: SettingsOpt,

View File

@@ -2,7 +2,7 @@
#rpc_listen="tcp://127.0.0.1:11055"
## Sets Datastore Path
#datastore="~/.config/tau"
#datastore="~/.config/darkfi/tau"
## Current display name
#nickname="NICKNAME"