Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to daemonize 0.5.0 to get rid of boxfnonce #403

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dverbeir
Copy link

boxfnonce crate is obsolete since Rust 1.35 and cargo audit complains about it. daemonize 0.5.0 doesn't use it any longer but is incompatible with earlier version in that the exit_action() modifier is no longer supported.

Despite the lack of any hint as to how to achieve the same thing with the newer version, it seems it can be done using daemonize.execute() instead of damonize.start(), since it will allow the parent to continue execution past the fork point.

boxfnonce crate is obsolete since Rust 1.35 and cargo audit complains
about it. daemonize 0.5.0 doesn't use it any longer but is incompatible
with earlier version in that the exit_action() modifier is no longer
supported.

Despite the lack of any hint as to how to achieve the same thing with
the newer version, it seems it can be done using daemonize.execute()
instead of damonize.start(), since it will allow the parent to continue
execution past the fork point.

Signed-off-by: David Verbeiren <[email protected]>
@kennytm
Copy link

kennytm commented May 26, 2024

this is a duplicate of #361.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants