fix linux

This commit is contained in:
John Smith
2022-01-15 18:50:56 -05:00
parent 60c8cd7f03
commit dc9f71a683
4 changed files with 10 additions and 21 deletions

View File

@@ -154,7 +154,7 @@ impl veilid_server::Server for VeilidServerImpl {
assert!(false, "write me!");
}
else {
crate::unix::shutdown();
crate::server::shutdown();
}
}

View File

@@ -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(())
}