pingora icon indicating copy to clipboard operation
pingora copied to clipboard

Replace unmaintained daemonize with cf-daemonize

Open nbarbier-265 opened this issue 1 year ago • 1 comments

The daemonize crate is unmaintained and has a security advisory (RUSTSEC-2025-0069). This switches to cf-daemonize, a Cloudflare fork with the same API.

Changes:

  • Update Cargo.toml to use cf-daemonize 0.3.0
  • Update import from daemonize to cf_daemonize
  • Remove Stdio::keep() calls (not available in cf-daemonize 0.3.0) Daemon preserves stdio by default when not explicitly configured

Fixes #699

Note: cf-daemonize has future incompatibility warnings. Maintainers may want to consider alternatives like daemonize-me or implementing a custom solution.

nbarbier-265 avatar Nov 09 '25 18:11 nbarbier-265

Note the cf_daemonize crate at this point looks like an old fork that may also be unmaintained at this point. I think I'm more concerned about switching over to that crate.

drcaramelsyrup avatar Nov 14 '25 18:11 drcaramelsyrup