# daemonize2
[](https://github.com/oold/daemonize/actions/workflows/rust.yml)
[](https://crates.io/crates/daemonize2)
[](https://docs.rs/daemonize2)
`daemonize2` is a library for writing [SysV daemons](https://man7.org/linux/man-pages/man7/daemon.7.html). It is inspired by the Python library [`daemonize`](https://github.com/thesharp/daemonize) and is based on the original [`daemonize` crate](https://github.com/knsd/daemonize) that went unmaintained.
### Example
For an example on how to use this crate, see [`complex.rs`](https://github.com/oold/daemonize/blob/main/daemonize/examples/complex.rs).
### License
Licensed under either of
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](http://opensource.org/licenses/MIT)
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.