Files
shadowsocks-rust/src/daemonize/mod.rs
T
zonyitoo 486e1d7279 Local, Server & Manager unified binary ssservice
- fixes #698
- Refactored shadowsocks-rust crate structure. Common code are put into
a separated library
2021-11-27 17:36:16 +08:00

13 lines
251 B
Rust

//! Daemonize server process
use cfg_if::cfg_if;
cfg_if! {
if #[cfg(unix)] {
mod unix;
pub use self::unix::daemonize;
} else {
compile_error!("Process daemonization is not supported by the current platform");
}
}