fix linux
This commit is contained in:
		@@ -154,7 +154,7 @@ impl veilid_server::Server for VeilidServerImpl {
 | 
			
		||||
                assert!(false, "write me!");
 | 
			
		||||
            }
 | 
			
		||||
            else {
 | 
			
		||||
                crate::unix::shutdown();
 | 
			
		||||
                crate::server::shutdown();
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,21 +1,8 @@
 | 
			
		||||
use crate::client_api;
 | 
			
		||||
use crate::client_log_channel::*;
 | 
			
		||||
use crate::settings;
 | 
			
		||||
use async_std::channel::{bounded, Receiver, Sender};
 | 
			
		||||
use clap::{App, Arg};
 | 
			
		||||
use lazy_static::*;
 | 
			
		||||
use log::*;
 | 
			
		||||
use parking_lot::Mutex;
 | 
			
		||||
use simplelog::*;
 | 
			
		||||
use std::ffi::OsStr;
 | 
			
		||||
use std::fs::OpenOptions;
 | 
			
		||||
use std::path::Path;
 | 
			
		||||
use std::str::FromStr;
 | 
			
		||||
use std::sync::Arc;
 | 
			
		||||
use std::time::{Duration, Instant};
 | 
			
		||||
use veilid_core::xx::SingleShotEventual;
 | 
			
		||||
use crate::settings::Settings;
 | 
			
		||||
use clap::ArgMatches;
 | 
			
		||||
// use log::*;
 | 
			
		||||
 | 
			
		||||
pub fn run_daemon(settings: Settings, matches: ArgMatches) -> Result<(), String> {
 | 
			
		||||
pub fn run_daemon(_settings: Settings, _matches: ArgMatches) -> Result<(), String> {
 | 
			
		||||
    eprintln!("Windows Service mode not implemented yet.");
 | 
			
		||||
    Ok(())
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user