use current_dir;
use Daemonize;
/// Daemonize.
///
/// Fork the process in the background,
/// disassociate from process group and the control terminal.
///
/// Keep current working directory,
/// redirect all standard streams to `/dev/null`.
///
/// Finally, print a message if succeeds or an error occurs.