NixOS deployment support
This commit is contained in:
parent
4f3d1560e8
commit
c2897126dd
|
@ -206,7 +206,7 @@ impl<'a> FirehoseAdaptor for Rules<'a> {
|
|||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
let _ = kankyo::init();
|
||||
let _ = kankyo::init().or_else(|| kankyo::load_from_path("/run/keys/tron"));
|
||||
pretty_env_logger::init();
|
||||
let cfg: Config = envy::from_env()?;
|
||||
log::debug!("cfg: {:?}", cfg);
|
||||
|
|
Loading…
Reference in New Issue