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

Add daemonization option to HOPRd #6255

Closed
NumberFour8 opened this issue May 13, 2024 · 0 comments · Fixed by #6266
Closed

Add daemonization option to HOPRd #6255

NumberFour8 opened this issue May 13, 2024 · 0 comments · Fixed by #6266
Assignees
Labels
feature New feature or request status:in-progress

Comments

@NumberFour8
Copy link
Contributor

NumberFour8 commented May 13, 2024

Is your feature related to a problem?

A proper system service app should not be running with full privileges and should fork as soon as soon as the initial startup sequence is completed and drop all privileges.

A "daemonized" service can be also more easily managed via systemd.

Describe the feature you'd like

As a follow up to #6204

Add the -d, --daemonize option to HOPRd that will allow the application to fork and run as a daemon with all privileges dropped, which is a standard practice.

This can be implemented via https://crates.io/crates/daemonize/

This obviously does not apply to Windows, which is not currently a supported platform anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request status:in-progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants