Crate tetsy_daemonize[][src]

Modules

error

Macros

map_err

Traits

AsHandle

Handle returned from daemonize to the daemon process the daemon should use this handle to detach itself from the parent process, In cases where your program needs to run set up before starting this can be useful, as the daemon will pipe it's stdout/stderr to the parent process to communicate if start up was successful

Functions

daemonize

this will fork the calling process twice and return a handle to the grandchild process aka daemon, use the handle to detach from the parent process