Function shadowsocks_rust::daemonize::daemonize
source · pub fn daemonize<F: AsRef<Path>>(pid_path: Option<F>)Expand description
Daemonize a server process in a *nix standard way
This function will redirect stdout, stderr to /dev/null,
and follow the exact behavior in shadowsocks-libev