Expand description
§daemonize2
daemonize2
is a library for writing SysV daemons. It is inspired by the Python library daemonize
and is based on the original daemonize
crate that went unmaintained.
§Example
For an example on how to use this crate, see complex.rs
.
§License
Licensed under either of
at your choice.
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.
Structs§
- Child
- Child process execution outcome.
- Daemonize
- Daemonization options.
- Error
- Error type returned by
Daemonize::start()
. - Group
- Expects system group ID or name. If a name is provided, it will be resolved to an ID later.
- Mask
- File mode creation mask.
- Parent
- Parent process execution outcome.
- Stdio
- Describes what to do with a standard I/O stream for a child process.
- User
- Expects system user ID or name. If a name is provided, it will be resolved to an ID later.