NixOS deployment support

This commit is contained in:
Cadey Ratio 2020-11-07 19:43:05 -05:00
parent 4f3d1560e8
commit c2897126dd
1 changed files with 1 additions and 1 deletions

View File

@ -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);