scripts
This commit is contained in:
+2
-2
@@ -52,7 +52,7 @@ mod ws;
|
||||
|
||||
use std::thread::{sleep, spawn};
|
||||
use std::time::{Duration};
|
||||
use dotenv::dotenv;
|
||||
use std::path::{Path};
|
||||
|
||||
use pubsub::pg_listen;
|
||||
use warden::warden;
|
||||
@@ -78,7 +78,7 @@ fn setup_logger() -> Result<(), fern::InitError> {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
dotenv().ok();
|
||||
dotenv::from_path(Path::new("/etc/mnml/server.conf")).ok();
|
||||
setup_logger().unwrap();
|
||||
|
||||
let pool = pg::create_pool();
|
||||
|
||||
Reference in New Issue
Block a user