mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-11-06 16:14:11 +00:00
- fixes #698 - Refactored shadowsocks-rust crate structure. Common code are put into a separated library
13 lines
251 B
Rust
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");
|
|
}
|
|
}
|