shadowsocks_rust/daemonize/
mod.rs

1//! Daemonize server process
2
3use cfg_if::cfg_if;
4
5cfg_if! {
6    if #[cfg(unix)] {
7        mod unix;
8        pub use self::unix::daemonize;
9    } else {
10        compile_error!("Process daemonization is not supported by the current platform");
11    }
12}